]> git.sesse.net Git - ffmpeg/commit
avcodec/movtextenc: Fix potential use of uninitialized value
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 15 Oct 2020 12:12:21 +0000 (14:12 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 19 Oct 2020 19:36:17 +0000 (21:36 +0200)
commit56b3726ed2ac89df31a939a8f5f00fa66a0ad2ed
treed11f9ad1611cc4efa8b8d728f38d3774f131271c
parent5da94413d146fee2d3dab2339949f15952175481
avcodec/movtextenc: Fix potential use of uninitialized value

Background colour was never initialized if no style was available.
Use a sane default of zero (i.e. completely transparent).

Fixes Coverity issue #1461471.

Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/movtextenc.c