Mercurial > libavcodec.hg
comparison avcodec.h @ 1856:ed6eb3e304cc libavcodec
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 | bafde44145f9 |
| children | 00a6bfc81010 |
comparison
equal
deleted
inserted
replaced
| 1855:bafde44145f9 | 1856:ed6eb3e304cc |
|---|---|
| 587 typedef struct AVCodecContext { | 587 typedef struct AVCodecContext { |
| 588 /** | 588 /** |
| 589 * Info on struct for av_log | 589 * Info on struct for av_log |
| 590 * - set by avcodec_alloc_context | 590 * - set by avcodec_alloc_context |
| 591 */ | 591 */ |
| 592 AVClass class; | 592 AVClass *av_class; |
| 593 /** | 593 /** |
| 594 * the average bitrate. | 594 * the average bitrate. |
| 595 * - encoding: set by user. unused for constant quantizer encoding | 595 * - encoding: set by user. unused for constant quantizer encoding |
| 596 * - decoding: set by lavc. 0 or some bitrate if this info is available in the stream | 596 * - decoding: set by lavc. 0 or some bitrate if this info is available in the stream |
| 597 */ | 597 */ |
