[FFmpeg-cvslog] r15016 - in trunk/libavcodec: avcodec.h utils.c

Stefano Sabatini stefano.sabatini-lala
Fri Aug 29 09:16:30 CEST 2008


On date Friday 2008-08-29 05:52:10 +0200, pross wrote:
> Author: pross
> Date: Fri Aug 29 05:52:10 2008
> New Revision: 15016
> 
> Log:
> Change AVCodecContext.bits_per_sample to bits_per_coded_sample. Nb: This change will become active on the next libavcodec major version bump.
> 
> 
> Modified:
>    trunk/libavcodec/avcodec.h
>    trunk/libavcodec/utils.c
> 
> Modified: trunk/libavcodec/avcodec.h
> ==============================================================================
> --- trunk/libavcodec/avcodec.h	(original)
> +++ trunk/libavcodec/avcodec.h	Fri Aug 29 05:52:10 2008
> @@ -1430,7 +1430,11 @@ typedef struct AVCodecContext {
>       * - encoding: Set by libavcodec.
>       * - decoding: Set by user.
>       */
> +#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)

Please use
#if LIBAVCODEC_MAJOR_VERSION < ...

for the next commits, it's easier to read.

Regards.




More information about the ffmpeg-cvslog mailing list