On Fri, Aug 12, 2011 at 01:30:20AM -0400, Dustin Brody wrote:
> 
> --- a/libavcodec/mpeg12.c
> +++ b/libavcodec/mpeg12.c
> @@ -2260,18 +2260,6 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
>  
> -#if 0
> -    if (s->repeat_field % 2 == 1) {
> -        s->repeat_field++;
> -        //fprintf(stderr,"\nRepeating last frame: %d -> %d! pict: %d %d", 
> avctx->frame_number-1, avctx->frame_number,
> -        //        s2->picture_number, s->repeat_field);
> -        if (avctx->flags & CODEC_FLAG_REPEAT_FIELD) {
> -            *data_size = sizeof(AVPicture);
> -            goto the_end;
> -        }
> -    }
> -#endif

There is another related disabled hunk in avconv.c/ffmpeg.c.
Updated patch coming up in a sec...

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to