Message ID | 3b3a75269b4cdd456db216f89edf51e0590cbc12.1666899915.git.pross@xvid.org |
---|---|
State | Accepted |
Commit | db774833638cd4465d979d6d28487bf08eefc485 |
Headers | show |
Series | [FFmpeg-devel] avcodec/mss2: initialise wmv9_mask variable | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/mss2.c b/libavcodec/mss2.c index 69494d8c44..14746505f4 100644 --- a/libavcodec/mss2.c +++ b/libavcodec/mss2.c @@ -519,7 +519,7 @@ static int mss2_decode_frame(AVCodecContext *avctx, AVFrame *frame, struct Rectangle wmv9rects[MAX_WMV9_RECTANGLES], *r; struct Rectangle2 draw; - int used_rects = 0, i, implicit_rect = 0, av_uninit(wmv9_mask); + int used_rects = 0, i, implicit_rect = 0, wmv9_mask = -1; if ((ret = init_get_bits8(&gb, buf, buf_size)) < 0) return ret;