aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sbr.h
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-03-21 12:00:56 -0700
committerAlex Converse <alex.converse@gmail.com>2012-03-23 14:56:44 -0700
commit0cb93dacee45d3d767b4470e6a9b43b17e5220c4 (patch)
tree0bebc98ac9c8454072f27f95990981c87871d5b2 /libavcodec/sbr.h
parenta237b38021cd3009cc78eeb974b596085f2fe393 (diff)
downloadffmpeg-0cb93dacee45d3d767b4470e6a9b43b17e5220c4.tar.gz
aac: Reset some state variables when turning SBR off
This makes sure the reset flag gets set when SBR gets turned back on and sets control variables for unguided mode back to their defaults. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/sbr.h')
-rw-r--r--libavcodec/sbr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h
index 8da8e570f3..459ee9c436 100644
--- a/libavcodec/sbr.h
+++ b/libavcodec/sbr.h
@@ -133,6 +133,7 @@ typedef struct {
unsigned kx[2];
///M' and M respectively, M is the number of QMF subbands that use SBR.
unsigned m[2];
+ unsigned kx_and_m_pushed;
///The number of frequency bands in f_master
unsigned n_master;
SBRData data[2];