Commit 5c9b9165 authored by Reimar Döffinger's avatar Reimar Döffinger

Remove unnecessary memset.

Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent a2db46b8
......@@ -548,7 +548,6 @@ static av_cold int prores_encode_init(AVCodecContext *avctx)
return -1;
}
memset(ctx, 0, sizeof(ProresContext));
if ((avctx->height & 0xf) || (avctx->width & 0xf)) {
ctx->fill_y = av_malloc(DEFAULT_SLICE_MB_WIDTH << 9);
ctx->fill_u = av_malloc(DEFAULT_SLICE_MB_WIDTH << 8);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment