aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-03-03 17:53:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-03-03 17:53:55 +0000
commit4346539522fbe34a4d46d3c6366b29181f31dc7a (patch)
tree554e5938f59ae1ac6afeda3d510b54ca4b1ca8f7 /libavformat/avformat.h
parentbc874daea8273e2471f5a6f914cdc9cf97371a1c (diff)
downloadffmpeg-4346539522fbe34a4d46d3c6366b29181f31dc7a.tar.gz
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 Originally committed as revision 2841 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 153c2ddfb5..58109627f9 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -241,7 +241,7 @@ typedef struct AVStream {
/* 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;