Commit 62cf5c11 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/matroskadec: make sipr_bit_rate static const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 18d7074b
......@@ -1765,7 +1765,7 @@ static int matroska_read_header(AVFormatContext *s)
track->codec_priv.size = 0;
} else {
if (codec_id == AV_CODEC_ID_SIPR && flavor < 4) {
const int sipr_bit_rate[4] = { 6504, 8496, 5000, 16000 };
static const int sipr_bit_rate[4] = { 6504, 8496, 5000, 16000 };
track->audio.sub_packet_size = ff_sipr_subpk_size[flavor];
st->codec->bit_rate = sipr_bit_rate[flavor];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment