mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 21:12:12 +00:00
avcodec/mss2: initialise wmv9_mask variable
initialised to -1 which indicates wmv9 mask not present
This commit is contained in:
parent
d772419237
commit
db77483363
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user