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>
Sun, 10 Jan 2016 18:31:39 +0000 (19:31 +0100)
commit590863876d1478547640304a31c15809c3618090
treeb806b82365000b907ba90529bf4cc70909bd6268
parent93ac72a98dff592ffc174cfb36a8975dfbf145ae
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>
libavcodec/aacdec_template.c