mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 13:32:10 +00:00
ipmovie: fix FPE
Fixed Ticket807 Bug found by: Oana Stratulat Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2b73cddd40
commit
8d960fbc70
@ -115,7 +115,7 @@ static int load_ipmovie_packet(IPMVEContext *s, AVIOContext *pb,
|
||||
|
||||
int chunk_type;
|
||||
|
||||
if (s->audio_chunk_offset) {
|
||||
if (s->audio_chunk_offset && s->audio_channels && s->audio_bits) {
|
||||
|
||||
/* adjust for PCM audio by skipping chunk header */
|
||||
if (s->audio_type != CODEC_ID_INTERPLAY_DPCM) {
|
||||
|
Loading…
Reference in New Issue
Block a user