[FFmpeg-devel] [PATCH] remove vc1 decoder avctx->frame_number hack

Kostya kostya.shishkov
Thu May 28 06:05:07 CEST 2009


On Wed, May 27, 2009 at 01:01:47PM -0700, Baptiste Coudurier wrote:
> Hi,
> 
> $subject, picture timestamps should be set in AVFrame right ?

Well, that piece was before me (svn praise will show you who committed
it and when) so I don't have any opinion on that.

> -- 
> Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
> Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> FFmpeg maintainer                                  http://www.ffmpeg.org

> Index: libavcodec/vc1.c
> ===================================================================
> --- libavcodec/vc1.c	(revision 18968)
> +++ libavcodec/vc1.c	(working copy)
> @@ -4269,10 +4269,6 @@
>          ff_print_debug_info(s, pict);
>      }
>  
> -    /* Return the Picture timestamp as the frame number */
> -    /* we subtract 1 because it is added on utils.c     */
> -    avctx->frame_number = s->picture_number - 1;
> -
>      av_free(buf2);
>      return buf_size;
>  }



More information about the ffmpeg-devel mailing list