summaryrefslogtreecommitdiff
path: root/libavcodec/aacdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-22 13:51:39 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-22 14:46:17 +0100
commit21f68528e39db68fd3e22fef8f4783d19034dc1d (patch)
treecaf19e6daf23cd942e909bb51e5660e6eb36a5a9 /libavcodec/aacdec.c
parenta72b41035cc4925922b4164b7453c9a5c2b7e630 (diff)
aacdec: dont pop random configurations
Fixes out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r--libavcodec/aacdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 64827872f1..880a38ea19 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -2554,7 +2554,6 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data,
if (pce_found) {
av_log(avctx, AV_LOG_ERROR,
"Not evaluating a further program_config_element as this construct is dubious at best.\n");
- pop_output_configuration(ac);
} else {
err = output_configure(ac, layout_map, tags, OC_TRIAL_PCE, 1);
if (!err)