mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 14:01:27 +00:00
ffmpeg.c: Add a necessary const qualifier
This commit is contained in:
parent
ed8a50068c
commit
9a1b79128c
2
ffmpeg.c
2
ffmpeg.c
@ -573,7 +573,7 @@ static void update_sample_fmt(AVCodecContext *dec, AVCodec *dec_codec,
|
||||
if (dec_codec && dec_codec->sample_fmts &&
|
||||
dec_codec->sample_fmts[0] != AV_SAMPLE_FMT_NONE &&
|
||||
dec_codec->sample_fmts[1] != AV_SAMPLE_FMT_NONE) {
|
||||
enum AVSampleFormat *p;
|
||||
const enum AVSampleFormat *p;
|
||||
int min_dec = -1, min_inc = -1;
|
||||
|
||||
/* find a matching sample format in the encoder */
|
||||
|
Loading…
Reference in New Issue
Block a user