summaryrefslogtreecommitdiff
path: root/libavutil/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index 6a7a27957a..b0a1493607 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 */