[FFmpeg-cvslog] log.h: make AVClass a named struct

Jindrich Makovicka git at videolan.org
Thu Oct 13 06:01:49 CEST 2011


ffmpeg | branch: master | Jindrich Makovicka <makovick at gmail.com> | Wed Oct 12 22:30:56 2011 +0200| [67bbf07fb54b0289768b9d8195877a421c4fa500] | committer: Anton Khirnov

log.h: make AVClass a named struct

'struct AVClass' is used in the code since
641c7afe3c17334b81e3e2eef88f1751eb68f89f, but AVClass is typedeffed as
an anonymous struct.

Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=67bbf07fb54b0289768b9d8195877a421c4fa500
---

 libavutil/log.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavutil/log.h b/libavutil/log.h
index 18d0ddf..0678e1a 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -30,7 +30,7 @@
  * arbitrary struct of which the first field is a pointer to an
  * AVClass struct (e.g. AVCodecContext, AVFormatContext etc.).
  */
-typedef struct {
+typedef struct AVClass {
     /**
      * The name of the class; usually it is the same name as the
      * context structure type to which the AVClass is associated.



More information about the ffmpeg-cvslog mailing list