[FFmpeg-devel] [PATCH 2/2] aiff: add explicit goto got_sound
misty at brew.sh
misty at brew.sh
Fri Jan 5 11:06:49 EET 2018
From: Misty De Meo <mistydemeo at gmail.com>
---
Changelog | 1 +
libavformat/aiffdec.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/Changelog b/Changelog
index 3d966c202b..63007a259d 100644
--- a/Changelog
+++ b/Changelog
@@ -33,6 +33,7 @@ version <next>:
- deconvolve video filter
- entropy video filter
- hilbert audio filter source
+- aiff: add support for CD-ROM XA ADPCM
version 3.4:
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;
--
2.15.1
More information about the ffmpeg-devel
mailing list