Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-10-29 15:19:21 +0400
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-10-29 17:48:43 +0400
commit5c9b9165cd82478a6d26294561767d60439040d3 (patch)
tree3ac7fcaa4ba16c549796051ba426dddd0ee758a9 /libavcodec/proresenc.c
parenta2db46b883becdc212d5def7b265e376ff594303 (diff)
Remove unnecessary memset.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/proresenc.c')
-rw-r--r--libavcodec/proresenc.c1
1 files changed, 0 insertions, 1 deletions
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);