diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-03-03 17:53:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-03-03 17:53:55 +0000 |
commit | 4346539522fbe34a4d46d3c6366b29181f31dc7a (patch) | |
tree | 554e5938f59ae1ac6afeda3d510b54ca4b1ca8f7 /libavcodec/avcodec.h | |
parent | bc874daea8273e2471f5a6f914cdc9cf97371a1c (diff) | |
download | ffmpeg-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 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 772fbd7ae8..22f0a697c9 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -589,7 +589,7 @@ typedef struct AVCodecContext { * Info on struct for av_log * - set by avcodec_alloc_context */ - AVClass class; + AVClass *av_class; /** * the average bitrate. * - encoding: set by user. unused for constant quantizer encoding |