diff avcodec.h @ 7040:e943e1409077 libavcodec

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
author stefano
date Thu, 12 Jun 2008 21:50:13 +0000
parents 130784da5595
children 8427f12555a6
line wrap: on
line diff
--- a/avcodec.h	Tue Jun 10 19:21:40 2008 +0000
+++ b/avcodec.h	Thu Jun 12 21:50:13 2008 +0000
@@ -2245,7 +2245,11 @@
     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;