[FFmpeg-cvslog] Remove unnecessary memset.
Reimar Döffinger
git at videolan.org
Sat Oct 29 15:49:55 CEST 2011
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Oct 29 13:19:21 2011 +0200| [5c9b9165cd82478a6d26294561767d60439040d3] | committer: Reimar Döffinger
Remove unnecessary memset.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5c9b9165cd82478a6d26294561767d60439040d3
---
libavcodec/proresenc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavcodec/proresenc.c b/libavcodec/proresenc.c
index 3fad382..20ab451 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);
More information about the ffmpeg-cvslog
mailing list