[FFmpeg-cvslog] r14412 - trunk/libavcodec/avcodec.h

Stefano Sabatini stefano.sabatini-lala
Sun Jul 27 00:28:05 CEST 2008


On date Saturday 2008-07-26 10:48:26 +0200, pross wrote:
> Author: pross
> Date: Sat Jul 26 10:48:26 2008
> New Revision: 14412
> 
> Log:
> add sample_fmts infrastructure: AVCodec->sample_fmts and SAMPLE_FMT_NB enum.
> 
> Modified:
>    trunk/libavcodec/avcodec.h
> 
> Modified: trunk/libavcodec/avcodec.h
> ==============================================================================
> --- trunk/libavcodec/avcodec.h	(original)
> +++ trunk/libavcodec/avcodec.h	Sat Jul 26 10:48:26 2008
> @@ -347,6 +347,7 @@ enum SampleFormat {
>      SAMPLE_FMT_S24,             ///< signed 24 bits
>      SAMPLE_FMT_S32,             ///< signed 32 bits
>      SAMPLE_FMT_FLT,             ///< float
> +    SAMPLE_FMT_NB               ///< Number of sample formats. DO NOT USE if dynamically linking to libavcodec
>  };
>  
>  /* in bytes */
> @@ -2264,6 +2265,7 @@ typedef struct AVCodec {
>       */
>      const char *long_name;
>      const int *supported_samplerates;       ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0
> +    const enum SampleFormat *sample_fmts;   ///< array of supported sample formats, or NULL if unknown, array is terminated by -1
>  } AVCodec;

What about a minor version bump?

Regards.




More information about the ffmpeg-cvslog mailing list