aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-06-12 21:50:13 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-06-12 21:50:13 +0000
commitfe4bf37455e81ecf2c0b769c979bdf6eec785602 (patch)
treea12f7782e43db4c9703cce6d8c304dfb7c2c638c /libavcodec/avcodec.h
parentd18811bbf541cc55ac2e36bc34c7c2f541a388cb (diff)
downloadffmpeg-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.h6
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;