diff avformat.h @ 371:b0e50e10472c libavformat

av_log() cleanup null pointer segfaults dont print redundant spam dont print prefix if reference==NULL class -> av_class dont copy AVClass to every object, its a waste of memory and not a good idea at all
author michael
date Wed, 03 Mar 2004 17:53:55 +0000
parents 845f9de2c883
children 9416dc106e06
line wrap: on
line diff
--- a/avformat.h	Wed Mar 03 15:41:21 2004 +0000
+++ b/avformat.h	Wed Mar 03 17:53:55 2004 +0000
@@ -241,7 +241,7 @@
 
 /* format I/O context */
 typedef struct AVFormatContext {
-    AVClass class; /* set by av_alloc_format_context */
+    AVClass *av_class; /* set by av_alloc_format_context */
     /* can only be iformat or oformat, not both at the same time */
     struct AVInputFormat *iformat;
     struct AVOutputFormat *oformat;