From: Stefano Sabatini Date: Sun, 12 Jul 2009 11:30:42 +0000 (+0000) Subject: Remove useless definition of struct AVCLASS. X-Git-Tag: v0.6~3842 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68485d2728d80d5b2972d292982ed905e37fb6ae;p=platform%2Fupstream%2Flibav.git Remove useless definition of struct AVCLASS. Originally committed as revision 19402 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavutil/log.h b/libavutil/log.h index 6a7a279..b0a1493 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -29,8 +29,7 @@ * arbitrary struct of which the first field is a pointer to an * AVClass struct (e.g. AVCodecContext, AVFormatContext etc.). */ -typedef struct AVCLASS AVClass; -struct AVCLASS { +typedef struct { /** * The name of the class; usually it is the same name as the * context structure type to which the AVClass is associated. @@ -49,7 +48,7 @@ struct AVCLASS { * @see av_set_default_options() */ const struct AVOption *option; -}; +} AVClass; /* av_log API */