forked from FFmpeg/FFmpeg
avcodec/mss2: initialise wmv9_mask variable
initialised to -1 which indicates wmv9 mask not present
This commit is contained in:
parent
d772419237
commit
db77483363
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ static int mss2_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
||||||
|
|
||||||
struct Rectangle wmv9rects[MAX_WMV9_RECTANGLES], *r;
|
struct Rectangle wmv9rects[MAX_WMV9_RECTANGLES], *r;
|
||||||
struct Rectangle2 draw;
|
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)
|
if ((ret = init_get_bits8(&gb, buf, buf_size)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Reference in a new issue