From: Zhao Zhili <[email protected]>
---
libavcodec/dvdsubenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dvdsubenc.c b/libavcodec/dvdsubenc.c
index 00bab35988..818ac2b0f5 100644
--- a/libavcodec/dvdsubenc.c
+++ b/libavcodec/dvdsubenc.c
@@ -123,7 +123,7 @@ static void count_colors(AVCodecContext *avctx, unsigned
hits[33],
unsigned count[256] = { 0 };
uint32_t *palette = (uint32_t *)r->data[1];
uint32_t color;
- int x, y, i, j, match, d, best_d, av_uninit(best_j);
+ int x, y, i, j, match, d, best_d, best_j = 0;
uint8_t *p = r->data[0];
for (y = 0; y < r->h; y++) {
--
2.46.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".