mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Remove unnecessary memset.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
a2db46b883
commit
5c9b9165cd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user