Commit bfe397e4 authored by Misty De Meo's avatar Misty De Meo Committed by Michael Niedermayer

aiff: add explicit goto got_sound

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 94e6b5ac
...@@ -34,6 +34,7 @@ version <next>: ...@@ -34,6 +34,7 @@ version <next>:
- entropy video filter - entropy video filter
- hilbert audio filter source - hilbert audio filter source
- aiir audio filter - aiir audio filter
- aiff: add support for CD-ROM XA ADPCM
version 3.4: version 3.4:
......
...@@ -332,6 +332,9 @@ static int aiff_read_header(AVFormatContext *s) ...@@ -332,6 +332,9 @@ static int aiff_read_header(AVFormatContext *s)
/* This field is unknown and its data seems to be irrelevant */ /* This field is unknown and its data seems to be irrelevant */
avio_rb32(pb); avio_rb32(pb);
st->codecpar->block_align = avio_rb32(pb); st->codecpar->block_align = avio_rb32(pb);
goto got_sound;
break;
case 0: case 0:
if (offset > 0 && st->codecpar->block_align) // COMM && SSND if (offset > 0 && st->codecpar->block_align) // COMM && SSND
goto got_sound; goto got_sound;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment