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 11:30:40 +0000 (12:30 +0100)
commite5567f2f6982e765c6d477b2cb6b8f9f6a4d77ab
treee20de2c93ee0d33ad5d11250f5f3d3d8ea42045e
parentb8382a1faeb24662eb9197d32b1bae434a803daa
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)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacdec_template.c