[SCM] libav/experimental: Remove useless definition of struct AVCLASS.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:48:51 UTC 2013


The following commit has been merged in the experimental branch:
commit 68485d2728d80d5b2972d292982ed905e37fb6ae
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Sun Jul 12 11:30:42 2009 +0000

    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 */
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list