From 5c9b9165cd82478a6d26294561767d60439040d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sat, 29 Oct 2011 13:19:21 +0200 Subject: [PATCH] Remove unnecessary memset. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavcodec/proresenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/proresenc.c b/libavcodec/proresenc.c index 3fad382743..20ab4512ad 100644 --- a/libavcodec/proresenc.c +++ b/libavcodec/proresenc.c @@ -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);