git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d7074
)
avformat/matroskadec: make sipr_bit_rate static const
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 4 Aug 2013 19:18:49 +0000
(21:18 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 4 Aug 2013 19:18:49 +0000
(21:18 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
9a15a2b
..
d52877c
100644
(file)
--- a/
libavformat/matroskadec.c
+++ b/
libavformat/matroskadec.c
@@
-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];
}