From: Zhao Zhili <[email protected]>
---
libavcodec/bfi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c
index 1d2d3a7204..4c47861791 100644
--- a/libavcodec/bfi.c
+++ b/libavcodec/bfi.c
@@ -93,7 +93,7 @@ static int bfi_decode_frame(AVCodecContext *avctx, AVFrame
*frame,
while (dst != frame_end) {
static const uint8_t lentab[4] = { 0, 2, 0, 1 };
- unsigned int byte = bytestream2_get_byte(&g), av_uninit(offset);
+ unsigned int byte = bytestream2_get_byte(&g), offset = 0;
unsigned int code = byte >> 6;
unsigned int length = byte & ~0xC0;
--
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".