X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=libavutil%2Flog.h;h=566440f854eabc394c136c6c302ebe7cb87893f0;hp=b0a14936071b62e13aab5b92a2ef3e1dbde78757;hb=2308b6c19a74c0b1af58c12ab379976b54bc83a2;hpb=b01dba14f36aa3ff3d6fe89acf71eddbd65e7027 diff --git a/libavutil/log.h b/libavutil/log.h index b0a1493607..566440f854 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -48,6 +48,14 @@ typedef struct { * @see av_set_default_options() */ const struct AVOption *option; + + /** + * LIBAVUTIL_VERSION with which this structure was created. + * This is used to allow fields to be added without requireing major + * version bumps everywhere. + */ + + int version; } AVClass; /* av_log API */