|
@@ -384,7 +384,7 @@ av_cold int ff_vc1_decode_init_alloc_tables(VC1Context *v) |
|
|
if (s->avctx->codec_id == AV_CODEC_ID_WMV3IMAGE || s->avctx->codec_id == AV_CODEC_ID_VC1IMAGE) { |
|
|
if (s->avctx->codec_id == AV_CODEC_ID_WMV3IMAGE || s->avctx->codec_id == AV_CODEC_ID_VC1IMAGE) { |
|
|
for (i = 0; i < 4; i++) |
|
|
for (i = 0; i < 4; i++) |
|
|
if (!(v->sr_rows[i >> 1][i & 1] = av_malloc(v->output_width))) |
|
|
if (!(v->sr_rows[i >> 1][i & 1] = av_malloc(v->output_width))) |
|
|
return AVERROR(ENOMEM); |
|
|
|
|
|
|
|
|
goto error; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
ret = ff_intrax8_common_init(s->avctx, &v->x8, &s->idsp, |
|
|
ret = ff_intrax8_common_init(s->avctx, &v->x8, &s->idsp, |
|
|