1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

aiff: add explicit goto got_sound

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Misty De Meo 2018-01-05 20:06:49 +11:00 committed by Michael Niedermayer
parent 94e6b5ac39
commit bfe397e431
2 changed files with 4 additions and 0 deletions

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:

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;