[FFmpeg-cvslog] aiff: add explicit goto got_sound

Misty De Meo git at videolan.org
Sat Jan 6 04:16:38 EET 2018


ffmpeg | branch: master | Misty De Meo <mistydemeo at gmail.com> | Fri Jan  5 20:06:49 2018 +1100| [bfe397e4313c640e2f05c90a2ff1541f50524094] | committer: Michael Niedermayer

aiff: add explicit goto got_sound

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bfe397e4313c640e2f05c90a2ff1541f50524094
---

 Changelog             | 1 +
 libavformat/aiffdec.c | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/Changelog b/Changelog
index 56a3d684d6..2f92638d36 100644
--- a/Changelog
+++ b/Changelog
@@ -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:
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;



More information about the ffmpeg-cvslog mailing list