aacdec: avoid an out-of-bounds write
authorVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 21 Nov 2014 12:57:40 +0000 (12:57 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 24 Nov 2014 01:30:15 +0000 (01:30 +0000)
commitb99ca863506f0630514921b740b78364de67a3ff
tree30af12237ab303d2efee3dfd5cb45379cc9f899c
parent277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2
aacdec: avoid an out-of-bounds write

Also move the check in the case it is actually used.

CC: libav-stable@libav.org
Bug-Id: CID 1087090
libavcodec/aacdec.c