mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
avcodec/huffyuvdec: do not leave alpha values uninitialized
fixes fate failure under valgrind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
99a8a3de8c
commit
5439959ef0
@ -770,7 +770,8 @@ static av_always_inline void decode_bgr_1(HYuvContext *s, int count,
|
|||||||
index = SHOW_UBITS(re, &s->gb, VLC_BITS);
|
index = SHOW_UBITS(re, &s->gb, VLC_BITS);
|
||||||
VLC_INTERN(s->temp[0][4 * i + A], s->vlc[2].table,
|
VLC_INTERN(s->temp[0][4 * i + A], s->vlc[2].table,
|
||||||
&s->gb, re, VLC_BITS, 3);
|
&s->gb, re, VLC_BITS, 3);
|
||||||
}
|
} else
|
||||||
|
s->temp[0][4 * i + A] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CLOSE_READER(re, &s->gb);
|
CLOSE_READER(re, &s->gb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user