Browse Source

aiff: add explicit goto got_sound

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.0
Misty De Meo Michael Niedermayer 8 years ago
parent
commit
bfe397e431
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      Changelog
  2. +3
    -0
      libavformat/aiffdec.c

+ 1
- 0
Changelog View File

@@ -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:


+ 3
- 0
libavformat/aiffdec.c View File

@@ -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