[FFmpeg-cvslog] r17280 - in trunk/libavcodec: mpeg12.c mpegvideo.c mpegvideo_xvmc.c xvmc_internal.h

Diego Biurrun diego
Sat Feb 14 21:41:00 CET 2009


On Sat, Feb 14, 2009 at 09:37:15PM +0100, diego wrote:
> 
> Log:
> Add xvmc_internal.h that contains all internal xvmc function declarations.
> This allows getting rid of a bunch of ugly forward declarations.

Hey Michael, you missed this during your review, I deserve some bonus
points here :)

Also, this fixed a real bug:

> --- trunk/libavcodec/mpeg12.c	Sat Feb 14 21:35:10 2009	(r17279)
> +++ trunk/libavcodec/mpeg12.c	Sat Feb 14 21:37:14 2009	(r17280)
> @@ -61,11 +62,6 @@ static inline int mpeg2_fast_decode_bloc
>  
> -int  ff_xvmc_field_end(MpegEncContext *s);
> 
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ trunk/libavcodec/xvmc_internal.h	Sat Feb 14 21:37:14 2009	(r17280)
> @@ -0,0 +1,33 @@
> +
> +void ff_xvmc_field_end(MpegEncContext *s);

One of the forward declarations of ff_xvmc_field_end was wrong.

Diego




More information about the ffmpeg-cvslog mailing list