comparison avcodec.h @ 6664:646a886bafe2 libavcodec

Add supported_samplerates field to AVCodec Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
author superdump
date Tue, 22 Apr 2008 20:06:20 +0000
parents b3b9616561cc
children e88e719b5e77
comparison
equal deleted inserted replaced
6663:33627a932270 6664:646a886bafe2
28 28
29 29
30 #include "libavutil/avutil.h" 30 #include "libavutil/avutil.h"
31 31
32 #define LIBAVCODEC_VERSION_MAJOR 51 32 #define LIBAVCODEC_VERSION_MAJOR 51
33 #define LIBAVCODEC_VERSION_MINOR 55 33 #define LIBAVCODEC_VERSION_MINOR 56
34 #define LIBAVCODEC_VERSION_MICRO 0 34 #define LIBAVCODEC_VERSION_MICRO 0
35 35
36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
37 LIBAVCODEC_VERSION_MINOR, \ 37 LIBAVCODEC_VERSION_MINOR, \
38 LIBAVCODEC_VERSION_MICRO) 38 LIBAVCODEC_VERSION_MICRO)
2239 */ 2239 */
2240 void (*flush)(AVCodecContext *); 2240 void (*flush)(AVCodecContext *);
2241 const AVRational *supported_framerates; ///< array of supported framerates, or NULL if any, array is terminated by {0,0} 2241 const AVRational *supported_framerates; ///< array of supported framerates, or NULL if any, array is terminated by {0,0}
2242 const enum PixelFormat *pix_fmts; ///< array of supported pixel formats, or NULL if unknown, array is terminated by -1 2242 const enum PixelFormat *pix_fmts; ///< array of supported pixel formats, or NULL if unknown, array is terminated by -1
2243 const char *long_name; ///< descriptive name for the codec, meant to be more human readable than \p name 2243 const char *long_name; ///< descriptive name for the codec, meant to be more human readable than \p name
2244 const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0
2244 } AVCodec; 2245 } AVCodec;
2245 2246
2246 /** 2247 /**
2247 * four components are given, that's all. 2248 * four components are given, that's all.
2248 * the last component is alpha 2249 * the last component is alpha