From 27614b121776aa2b32579808810fb95839627bd9 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 14 May 2011 19:47:55 +0200 Subject: [PATCH] rawdec: propagate pict_type information to the output frame --- libavcodec/rawdec.c | 1 + 1 file changed, 1 insertion(+) 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;