[MPlayer-dev-eng] [PATCH] libmpcodecs/vd_ffmpeg.c compile problem

Roberto Togni r_togni at tiscali.it
Mon Nov 10 23:08:01 CET 2003


On 2003.11.10 22:19, rgselk wrote:
> With the current cvs version of libavcodec (4684) I get a compile
> error
> on  AVPALETTE_SIZE.
> The attached patch fixes it for me. However I am not sure about the
> version number...
> 
> Regards,
>   rgselk.
Committed a modified version. BTW, current CVS is 4692.

> +#if LIBAVCODEC_BUILD >= 4689
>  	// Palette support: free palette buffer allocated in
> get_buffer
>  	if ((mpi->bpp == 8) && (mpi->planes[1] != NULL))
>  		free(mpi->planes[1]);
> -
> +#endif
This is not needed IMHO. There are no references to libavcodec symbols.

Ciao,
 Roberto



More information about the MPlayer-dev-eng mailing list