From 1c3e43a6273822e1369818b80f34c8464e1009d5 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Fri, 20 Nov 2015 20:15:21 +0100 Subject: aacsbr: don't call sbr_dequant twice without intermediate read_sbr_data Doing that doesn't make sense, because the only purpose of sbr_dequant is to process the data from read_sbr_data. Reviewed-by: Michael Niedermayer Signed-off-by: Andreas Cadhalpun --- libavcodec/sbr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/sbr.h') diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h index 4a94c4a60b..eb7d1aec09 100644 --- a/libavcodec/sbr.h +++ b/libavcodec/sbr.h @@ -139,6 +139,7 @@ typedef struct AACSBRContext { struct SpectralBandReplication { int sample_rate; int start; + int ready_for_dequant; int id_aac; int reset; SpectrumParameters spectrum_params; -- cgit v1.2.1