avcodec/aacdec_template: Check id_map
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 Jan 2016 18:29:39 +0000 (19:29 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 15:00:31 +0000 (16:00 +0100)
commitd755045e7801a4ceb35027ab9bf069f7e6ecc221
tree79fba18c392929ad4a82eab7beff70e2ebd1e06b
parent3820c6a979cad16ad993580af80b5968b87ea382
avcodec/aacdec_template: Check id_map

Fixes index out of bounds error
Fixes: aac_index_out_of_bounds.wmv

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 590863876d1478547640304a31c15809c3618090)

Conflicts:

libavcodec/aacdec_template.c
libavcodec/aacdec.c