forked from FFmpeg/FFmpeg
libavcodec: Mark AVCodec->priv_class const
This avoids warnings of this kind, everywhere priv_class is initialized: warning: initialization discards qualifiers from pointer target type Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
0e1a5434e2
commit
567ad0e31d
1 changed files with 1 additions and 1 deletions
|
@ -2944,7 +2944,7 @@ typedef struct AVCodec {
|
||||||
const enum AVSampleFormat *sample_fmts; ///< array of supported sample formats, or NULL if unknown, array is terminated by -1
|
const enum AVSampleFormat *sample_fmts; ///< array of supported sample formats, or NULL if unknown, array is terminated by -1
|
||||||
const int64_t *channel_layouts; ///< array of support channel layouts, or NULL if unknown. array is terminated by 0
|
const int64_t *channel_layouts; ///< array of support channel layouts, or NULL if unknown. array is terminated by 0
|
||||||
uint8_t max_lowres; ///< maximum value for lowres supported by the decoder
|
uint8_t max_lowres; ///< maximum value for lowres supported by the decoder
|
||||||
AVClass *priv_class; ///< AVClass for the private context
|
const AVClass *priv_class; ///< AVClass for the private context
|
||||||
const AVProfile *profiles; ///< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN}
|
const AVProfile *profiles; ///< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue