]> git.sesse.net Git - ffmpeg/commitdiff
Remove unnecessary memset.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 29 Oct 2011 11:19:21 +0000 (13:19 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 29 Oct 2011 13:48:43 +0000 (15:48 +0200)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/proresenc.c

index 3fad382743ea013423f6b47a6d154c2e2513af52..20ab4512add2fb8a60cd0d32ea41cbf611e3bcdf 100644 (file)
@@ -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);