From bde15e74de442cebf61acc6cd598a13aca249030 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 3 Jun 2008 16:20:54 +0000 Subject: Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. patch by Stefano Sabatini, stefano.sabatini-lala poste.it along with some spelling/consistency fixes for the long names by me Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libavformat/avformat.h') diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f8f35ac37d..181a174392 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -185,6 +185,11 @@ typedef struct AVFormatParameters { typedef struct AVOutputFormat { const char *name; + /** + * Descriptive name for the format, 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 char *mime_type; const char *extensions; /**< comma separated filename extensions */ @@ -216,6 +221,11 @@ typedef struct AVOutputFormat { typedef struct AVInputFormat { const char *name; + /** + * Descriptive name for the format, 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; /** size of private data so that it can be allocated in the wrapper */ int priv_data_size; -- cgit v1.2.3