diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-11-20 20:15:21 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-11-20 23:25:24 +0100 |
commit | 1c3e43a6273822e1369818b80f34c8464e1009d5 (patch) | |
tree | b84a9bad5719e8dc4e22cdcaa75cb1665a43c6fc /libavcodec/sbr.h | |
parent | b885d9ced59c878bc05da8304602cfcc2d69438e (diff) | |
download | ffmpeg-1c3e43a6273822e1369818b80f34c8464e1009d5.tar.gz |
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 <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/sbr.h')
-rw-r--r-- | libavcodec/sbr.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |