From 28b4af8e38204261df2f22faae6f0a70cacb3565 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 28 Dec 2011 00:50:28 -0500 Subject: rawdec: propagate pict_type information to the output frame Signed-off-by: Anton Khirnov --- libavcodec/rawdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/rawdec.c') diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index dcbe23c500..427d109a2b 100644 --- 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; -- cgit v1.2.3