diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-06-12 21:50:13 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-06-12 21:50:13 +0000 |
commit | fe4bf37455e81ecf2c0b769c979bdf6eec785602 (patch) | |
tree | a12f7782e43db4c9703cce6d8c304dfb7c2c638c /libavcodec/avcodec.h | |
parent | d18811bbf541cc55ac2e36bc34c7c2f541a388cb (diff) | |
download | ffmpeg-fe4bf37455e81ecf2c0b769c979bdf6eec785602.tar.gz |
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index d7dbe15868..19b7e56dc6 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2245,7 +2245,11 @@ typedef struct AVCodec { void (*flush)(AVCodecContext *); 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 + /** + * Descriptive name for the codec, meant to be more human readable than \p name. + * You \e should use the NULL_IF_CONFIG_SMALL() macro to define it. + */ + const char *long_name; const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0 } AVCodec; |