diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-21 22:02:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-22 00:25:47 +0100 |
commit | 8d960fbc70d5d7b6cd62db22712a8d5c2c5e26bf (patch) | |
tree | 3805aad34b3c7f47a839889d9066592b03802169 /libavformat/ipmovie.c | |
parent | 2b73cddd40bdfd7e3c21b2fe8cbfca0277d1f786 (diff) | |
download | ffmpeg-8d960fbc70d5d7b6cd62db22712a8d5c2c5e26bf.tar.gz |
ipmovie: fix FPE
Fixed Ticket807
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/ipmovie.c')
-rw-r--r-- | libavformat/ipmovie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c index 9b42ee2948..24dc24bec8 100644 --- a/libavformat/ipmovie.c +++ b/libavformat/ipmovie.c @@ -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) { |