OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8425ed
)
aac: Set SBR and PS to unsignalled during headerless and ADTS initialization.
author
Alex Converse
<alex.converse@gmail.com>
Wed, 10 Aug 2011 23:37:32 +0000
(16:37 -0700)
committer
Luca Barbato
<lu_zero@gentoo.org>
Thu, 18 Aug 2011 20:29:41 +0000
(22:29 +0200)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/aacdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/aacdec.c
b/libavcodec/aacdec.c
index
a380e9d
..
d554f41
100644
(file)
--- a/
libavcodec/aacdec.c
+++ b/
libavcodec/aacdec.c
@@
-579,6
+579,8
@@
static av_cold int aac_decode_init(AVCodecContext *avctx)
sr = sample_rate_idx(avctx->sample_rate);
ac->m4ac.sampling_index = sr;
ac->m4ac.channels = avctx->channels;
+ ac->m4ac.sbr = -1;
+ ac->m4ac.ps = -1;
for (i = 0; i < FF_ARRAY_ELEMS(ff_mpeg4audio_channels); i++)
if (ff_mpeg4audio_channels[i] == avctx->channels)