aiff: add explicit goto got_sound

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/303/head
Misty De Meo 7 years ago committed by Michael Niedermayer
parent 94e6b5ac39
commit bfe397e431
  1. 1
      Changelog
  2. 3
      libavformat/aiffdec.c

@ -34,6 +34,7 @@ version <next>:
- entropy video filter
- hilbert audio filter source
- aiir audio filter
- aiff: add support for CD-ROM XA ADPCM
version 3.4:

@ -332,6 +332,9 @@ static int aiff_read_header(AVFormatContext *s)
/* This field is unknown and its data seems to be irrelevant */
avio_rb32(pb);
st->codecpar->block_align = avio_rb32(pb);
goto got_sound;
break;
case 0:
if (offset > 0 && st->codecpar->block_align) // COMM && SSND
goto got_sound;

Loading…
Cancel
Save