|
|
|
@@ -128,7 +128,7 @@ static int tqi_decode_frame(AVCodecContext *avctx, |
|
|
|
|
|
|
|
t->bitstream_buf = av_fast_realloc(t->bitstream_buf, &t->bitstream_buf_size, (buf_end-buf) + FF_INPUT_BUFFER_PADDING_SIZE); |
|
|
|
if (!t->bitstream_buf) |
|
|
|
return -1; |
|
|
|
return AVERROR(ENOMEM); |
|
|
|
s->dsp.bswap_buf((uint32_t*)t->bitstream_buf, (const uint32_t*)buf, (buf_end-buf)/4); |
|
|
|
init_get_bits(&s->gb, t->bitstream_buf, 8*(buf_end-buf)); |
|
|
|
|
|
|
|
|