diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-06-09 09:52:47 -0700 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-06-09 10:12:50 -0700 |
commit | 9a1b79128c25a5c1004bbd0af85a68c9a2a3e580 (patch) | |
tree | f23bcb9bcc96365ff98b48900908aa908463c347 /ffmpeg.c | |
parent | ed8a50068caacf722b6c7a81f77abcadc134e544 (diff) | |
download | ffmpeg-9a1b79128c25a5c1004bbd0af85a68c9a2a3e580.tar.gz |
ffmpeg.c: Add a necessary const qualifier
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |