brstm: fix missing closing brace
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 4 Jan 2016 12:44:16 +0000 (13:44 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 28 Jan 2016 00:50:35 +0000 (01:50 +0100)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 1cb2331eca0dbde1bc63bc715a0e98771dda8b80)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/brstm.c

index aba3770..6afae73 100644 (file)
@@ -263,6 +263,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
         if (!b->adpc) {
             av_log(s, AV_LOG_ERROR, "adpcm_thp requires ADPC chunk, but none was found.\n");
             return AVERROR_INVALIDDATA;
+        }
         if (!b->table) {
             b->table = av_mallocz(32 * codec->channels);
             if (!b->table)