aac: Reset PS parameters on header decode failure.
authorAlex Converse <alex.converse@gmail.com>
Wed, 21 Mar 2012 17:11:02 +0000 (10:11 -0700)
committerReinhard Tartler <siretart@tauware.de>
Sun, 29 Apr 2012 20:07:02 +0000 (22:07 +0200)
commit9ddd3abe78b6bc0940df87f0fbd7386d794736b1
tree433569c20ed1a193f64e74c2d3b624647c18db43
parent86bd0244ec01e873614d94e88177836a9ce650c1
aac: Reset PS parameters on header decode failure.

If the next header frame codes zero envelopes the previous frame's
values will be used. Consequently the invalid values must be cleared.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit a237b38021cd3009cc78eeb974b596085f2fe393)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/aacps.c