diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-14 19:47:55 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-15 12:29:16 +0200 |
commit | 27614b121776aa2b32579808810fb95839627bd9 (patch) | |
tree | 60a6a922e9ebffc55be5c6df8f67904fbdddb6ac /libavcodec/rawdec.c | |
parent | a05d02079e0fde1ff9b6abfda79ff20b38f68439 (diff) | |
download | ffmpeg-streaming-27614b121776aa2b32579808810fb95839627bd9.zip ffmpeg-streaming-27614b121776aa2b32579808810fb95839627bd9.tar.gz |
rawdec: propagate pict_type information to the output frame
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 385bdf4..bdf5674 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -121,6 +121,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; |