On Wed, 28 Dec 2011 00:50:28 -0500, Derek Buitenhuis 
<[email protected]> wrote:
> From: Stefano Sabatini <[email protected]>
> 
> ---
>  libavcodec/rawdec.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
> index cf9dc28..ddd8583 100644
> --- a/libavcodec/rawdec.c
> +++ b/libavcodec/rawdec.c
> @@ -125,6 +125,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;
> -- 
> 1.7.7.3
> 

Looks ok.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to