Revision 5a810f4e libavcodec/tta.c

View differences:

libavcodec/tta.c
286 286
        }
287 287

  
288 288
        s->decode_buffer = av_mallocz(sizeof(int32_t)*s->frame_length*s->channels);
289
        if (!s->decode_buffer)
290
            return AVERROR(ENOMEM);
289 291
        s->ch_ctx = av_malloc(avctx->channels * sizeof(*s->ch_ctx));
290 292
        if (!s->ch_ctx)
291 293
            return AVERROR(ENOMEM);

Also available in: Unified diff