summaryrefslogtreecommitdiff
path: root/libavcodec/rawdec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-14 19:47:55 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-15 12:29:16 +0200
commit27614b121776aa2b32579808810fb95839627bd9 (patch)
tree60a6a922e9ebffc55be5c6df8f67904fbdddb6ac /libavcodec/rawdec.c
parenta05d02079e0fde1ff9b6abfda79ff20b38f68439 (diff)
rawdec: propagate pict_type information to the output frame
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 385bdf4a6a..bdf5674873 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;