OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a5c26
)
rawdec: propagate pict_type information to the output frame
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Wed, 28 Dec 2011 05:50:28 +0000
(
00:50
-0500)
committer
Anton Khirnov
<anton@khirnov.net>
Sun, 1 Jan 2012 21:27:04 +0000
(22:27 +0100)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/rawdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/rawdec.c
b/libavcodec/rawdec.c
index
dcbe23c
..
427d109
100644
(file)
--- a/
libavcodec/rawdec.c
+++ b/
libavcodec/rawdec.c
@@
-123,6
+123,7
@@
static int raw_decode(AVCodecContext *avctx,
AVFrame * frame = (AVFrame *) data;
AVPicture * picture = (AVPicture *) data;
+ frame->pict_type = avctx->coded_frame->pict_type;
frame->interlaced_frame = avctx->coded_frame->interlaced_frame;
frame->top_field_first = avctx->coded_frame->top_field_first;
frame->reordered_opaque = avctx->reordered_opaque;