brstm: make sure an ADPC chunk was read for adpcm_thp
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 4 Jan 2016 11:57:38 +0000 (12:57 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 4 Jan 2016 12:19:59 +0000 (13:19 +0100)
commitd7d37c479fa71639650751648275615e979beb33
treee241ed2c16ceda06d84626565daeaf135966abf4
parente7a7b3135a4e5ba4bd2e144444d95a7563f53e9b
brstm: make sure an ADPC chunk was read for adpcm_thp

This fixes NULL pointer dereferencing.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/brstm.c