summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMisty De Meo <mistydemeo@gmail.com>2018-01-05 20:06:49 +1100
committerMichael Niedermayer <michael@niedermayer.cc>2018-01-06 03:15:18 +0100
commitbfe397e4313c640e2f05c90a2ff1541f50524094 (patch)
treed70488b6c210831a5389516603fe692c33c0a38a /libavformat
parent94e6b5ac3914c391912b717e6aba2cb40cc717b7 (diff)
downloadffmpeg-bfe397e4313c640e2f05c90a2ff1541f50524094.tar.gz
aiff: add explicit goto got_sound
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/aiffdec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c
index a6c180fc8d..e87fbc5661 100644
--- a/libavformat/aiffdec.c
+++ b/libavformat/aiffdec.c
@@ -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;