---
libavcodec/tmv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/tmv.c b/libavcodec/tmv.c
index 8533707..6cd12b1 100644
--- a/libavcodec/tmv.c
+++ b/libavcodec/tmv.c
@@ -68,6 +68,7 @@ static int tmv_decode_frame(AVCodecContext *avctx, void *data,
tmv->pic.palette_has_changed = 1;
memcpy(tmv->pic.data[1], ff_cga_palette, 16 * 4);
+ memset(tmv->pic.data[1] + 16 * 4, 0, (256 - 16) * 4);
for (y = 0; y < char_rows; y++) {
for (x = 0; x < char_cols; x++) {
--
1.7.12.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel