diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-04 12:53:20 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-27 23:45:44 +0100 |
commit | 247bb203e4e280142beaebd4c9d6c1519a8f7fa0 (patch) | |
tree | 5e31e541ba4e1c230ef771a59329ca34aa43e820 /libavformat/movenc.c | |
parent | 94b9e7caaea87a8caee587cf9123ec2e31aacf4b (diff) | |
download | ffmpeg-247bb203e4e280142beaebd4c9d6c1519a8f7fa0.tar.gz |
brstm: also allocate b->table in read_packet
This fixes NULL pointer dereferencing if the codec is forced to
adpcm_thp even though a different one was detected.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit bcf4ee26a0a1ed349ec7489925540401002b87cc)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/movenc.c')
0 files changed, 0 insertions, 0 deletions