aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-04 13:44:16 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-27 23:45:44 +0100
commitcf99f0dd0fa24213f12943027055ab11968ea16c (patch)
treed861d91d0a82c1979df7d7f1f377c01b9a6941f6 /libavformat
parent247bb203e4e280142beaebd4c9d6c1519a8f7fa0 (diff)
downloadffmpeg-cf99f0dd0fa24213f12943027055ab11968ea16c.tar.gz
brstm: fix missing closing brace
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 1cb2331eca0dbde1bc63bc715a0e98771dda8b80) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/brstm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c
index e4a351b088..601f20f3c8 100644
--- a/libavformat/brstm.c
+++ b/libavformat/brstm.c
@@ -392,6 +392,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)