Remove useless definition of struct AVCLASS.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 12 Jul 2009 11:30:42 +0000 (11:30 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 12 Jul 2009 11:30:42 +0000 (11:30 +0000)
Originally committed as revision 19402 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/log.h

index 6a7a279..b0a1493 100644 (file)
@@ -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 */