Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
370:845f9de2c883 | 371:b0e50e10472c |
---|---|
239 | 239 |
240 #define MAX_STREAMS 20 | 240 #define MAX_STREAMS 20 |
241 | 241 |
242 /* format I/O context */ | 242 /* format I/O context */ |
243 typedef struct AVFormatContext { | 243 typedef struct AVFormatContext { |
244 AVClass class; /* set by av_alloc_format_context */ | 244 AVClass *av_class; /* set by av_alloc_format_context */ |
245 /* can only be iformat or oformat, not both at the same time */ | 245 /* can only be iformat or oformat, not both at the same time */ |
246 struct AVInputFormat *iformat; | 246 struct AVInputFormat *iformat; |
247 struct AVOutputFormat *oformat; | 247 struct AVOutputFormat *oformat; |
248 void *priv_data; | 248 void *priv_data; |
249 ByteIOContext pb; | 249 ByteIOContext pb; |