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-04 13:44:16 +0100
commit1cb2331eca0dbde1bc63bc715a0e98771dda8b80 (patch)
tree03dd0277f8f7d81849d1333cf9f84c097bae4a70
parentbcf4ee26a0a1ed349ec7489925540401002b87cc (diff)
downloadffmpeg-1cb2331eca0dbde1bc63bc715a0e98771dda8b80.tar.gz
brstm: fix missing closing brace
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 e9d64e4ba8..aae2575fb7 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)