# HG changeset patch # User reimar # Date 1264259974 0 # Node ID d5f811c11f0813151f5a8b7bb89debfa3827d5b2 # Parent eb5f0ccb6a98253f43f47cdf4e224baf32ce8c22 Remove redundant initialization of the palette, it is part of the context and that one is always 0-initialized already. diff -r eb5f0ccb6a98 -r d5f811c11f08 vb.c --- a/vb.c Sat Jan 23 14:50:56 2010 +0000 +++ b/vb.c Sat Jan 23 15:19:34 2010 +0000 @@ -272,8 +272,6 @@ c->frame = av_mallocz(avctx->width * avctx->height); c->prev_frame = av_mallocz(avctx->width * avctx->height); - memset(c->pal, 0, sizeof(c->pal)); - return 0; }