OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e907aa9
)
aacsbr: Silence warning: max_qmf_subbands may be used uninitialized in this function
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 26 Feb 2013 15:36:29 +0000
(16:36 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 26 Feb 2013 15:36:29 +0000
(16:36 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacsbr.c
patch
|
blob
|
history
diff --git
a/libavcodec/aacsbr.c
b/libavcodec/aacsbr.c
index
aa728f6
..
1820f80
100644
(file)
--- a/
libavcodec/aacsbr.c
+++ b/
libavcodec/aacsbr.c
@@
-399,6
+399,8
@@
static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
max_qmf_subbands = 35;
} else if (sbr->sample_rate >= 48000)
max_qmf_subbands = 32;
+ else
+ av_assert0(0);
if (sbr->k[2] - sbr->k[0] > max_qmf_subbands) {
av_log(ac->avctx, AV_LOG_ERROR,