Mercurial > libavcodec.hg
comparison avcodec.h @ 6464:0c3cc1d7a0b3 libavcodec
Make av_class a pointer to a const AVClass. Addresses one warning in
imgresample.c.
| author | takis |
|---|---|
| date | Thu, 06 Mar 2008 17:41:31 +0000 |
| parents | 73ed28ea2082 |
| children | 3f96dc62c4b9 |
comparison
equal
deleted
inserted
replaced
| 6463:9f397992ddff | 6464:0c3cc1d7a0b3 |
|---|---|
| 789 typedef struct AVCodecContext { | 789 typedef struct AVCodecContext { |
| 790 /** | 790 /** |
| 791 * information on struct for av_log | 791 * information on struct for av_log |
| 792 * - set by avcodec_alloc_context | 792 * - set by avcodec_alloc_context |
| 793 */ | 793 */ |
| 794 AVClass *av_class; | 794 const AVClass *av_class; |
| 795 /** | 795 /** |
| 796 * the average bitrate | 796 * the average bitrate |
| 797 * - encoding: Set by user; unused for constant quantizer encoding. | 797 * - encoding: Set by user; unused for constant quantizer encoding. |
| 798 * - decoding: Set by libavcodec. 0 or some bitrate if this info is available in the stream. | 798 * - decoding: Set by libavcodec. 0 or some bitrate if this info is available in the stream. |
| 799 */ | 799 */ |
