changeset 10971:d5f811c11f08 libavcodec

Remove redundant initialization of the palette, it is part of the context and that one is always 0-initialized already.
author reimar
date Sat, 23 Jan 2010 15:19:34 +0000
parents eb5f0ccb6a98
children 3dd1cb77cc60
files vb.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }