comparison log.h @ 912:5ffcf744a157 libavutil

Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
author michael
date Wed, 28 Apr 2010 20:00:23 +0000
parents e67b4de734af
children de7b577403bc
comparison
equal deleted inserted replaced
911:71ebc8b18666 912:5ffcf744a157
46 * a pointer to the first option specified in the class if any or NULL 46 * a pointer to the first option specified in the class if any or NULL
47 * 47 *
48 * @see av_set_default_options() 48 * @see av_set_default_options()
49 */ 49 */
50 const struct AVOption *option; 50 const struct AVOption *option;
51
52 /**
53 * LIBAVUTIL_VERSION with which this structure was created.
54 * This is used to allow fields to be added without requireing major
55 * version bumps everywhere.
56 */
57
58 int version;
51 } AVClass; 59 } AVClass;
52 60
53 /* av_log API */ 61 /* av_log API */
54 62
55 #define AV_LOG_QUIET -8 63 #define AV_LOG_QUIET -8