Browse Source

brstm: fix missing closing brace

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
tags/n3.0
Andreas Cadhalpun 9 years ago
parent
commit
1cb2331eca
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/brstm.c

+ 1
- 0
libavformat/brstm.c View File

@@ -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)


Loading…
Cancel
Save