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:
a43f9e6
)
avcodec/aacdec: Fix storing state before PCE decode
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 8 Apr 2015 22:04:44 +0000
(
00:04
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 22 Apr 2015 10:27:24 +0000
(12:27 +0200)
Fixes Ticket4460
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit
e88b3852aefaa39b2170ef185ad03dda18732821
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/aacdec.c
b/libavcodec/aacdec.c
index
4071257
..
e564f11
100644
(file)
--- a/
libavcodec/aacdec.c
+++ b/
libavcodec/aacdec.c
@@
-423,7
+423,7
@@
static uint64_t sniff_channel_order(uint8_t (*layout_map)[3], int tags)
* Save current output configuration if and only if it has been locked.
*/
static void push_output_configuration(AACContext *ac) {
- if (ac->oc[1].status == OC_LOCKED) {
+ if (ac->oc[1].status == OC_LOCKED
|| ac->oc[0].status == OC_NONE
) {
ac->oc[0] = ac->oc[1];
}
ac->oc[1].status = OC_NONE;