Browse Source

ipmovie: fix FPE

Fixed Ticket807
Bug found by: Oana Stratulat

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
8d960fbc70
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/ipmovie.c

+ 1
- 1
libavformat/ipmovie.c View File

@@ -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…
Cancel
Save