# HG changeset patch # User superdump # Date 1208894780 0 # Node ID 646a886bafe27a29be63d6ac77b3e5175a03953c # Parent 33627a932270f44bc5e191752b7753fd0ab0a202 Add supported_samplerates field to AVCodec Patch by Stefano Sabatini ( stefano sabatini-lala poste it ) diff -r 33627a932270 -r 646a886bafe2 avcodec.h --- a/avcodec.h Tue Apr 22 16:26:15 2008 +0000 +++ b/avcodec.h Tue Apr 22 20:06:20 2008 +0000 @@ -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 @@ 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; /**