From 3ade5d56d0138e6069ea3e402c2c9ad050e347c0 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 22 Apr 2008 20:06:20 +0000 Subject: [PATCH] Add supported_samplerates field to AVCodec Patch by Stefano Sabatini ( stefano sabatini-lala poste it ) Originally committed as revision 12925 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 00c35c0b63..dfdef6732f 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -30,7 +30,7 @@ #include "libavutil/avutil.h" #define LIBAVCODEC_VERSION_MAJOR 51 -#define LIBAVCODEC_VERSION_MINOR 55 +#define LIBAVCODEC_VERSION_MINOR 56 #define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ @@ -2241,6 +2241,7 @@ typedef struct AVCodec { const AVRational *supported_framerates; ///< array of supported framerates, or NULL if any, array is terminated by {0,0} const enum PixelFormat *pix_fmts; ///< array of supported pixel formats, or NULL if unknown, array is terminated by -1 const char *long_name; ///< descriptive name for the codec, meant to be more human readable than \p name + const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0 } AVCodec; /**