aboutsummaryrefslogtreecommitdiffstats
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-28 01:21:11 +0100
commite577e712a8a22571068f6d02177d067d67a21931 (patch)
tree72eb8e56e65b06baf696dc5e13d6cda5ef5c49d0
parent95e52303da7e0f795fbee26714f83f8f895ffc1a (diff)
downloadffmpeg-e577e712a8a22571068f6d02177d067d67a21931.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>
-rw-r--r--libavformat/brstm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c
index aba3770ee6..6afae73b2f 100644
--- a/libavformat/brstm.c
+++ b/libavformat/brstm.c
@@ -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)