summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/vb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/vb.c b/libavcodec/vb.c
index f4f2ee1bfc..155ccebbc4 100644
--- a/libavcodec/vb.c
+++ b/libavcodec/vb.c
@@ -272,8 +272,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
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;
}