[vlc-commits] demux: mp4: fix condition
Francois Cartegnie
git at videolan.org
Wed Apr 2 17:37:05 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 2 17:02:10 2014 +0200| [5b8095894633bb7148315a54c89daaecaae8c847] | committer: Francois Cartegnie
demux: mp4: fix condition
is array, not variable.
cid #1194828
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b8095894633bb7148315a54c89daaecaae8c847
---
modules/demux/mp4/mp4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index c3038f4..e63a3f0 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1991,7 +1991,7 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
p_style->i_font_color = p_text->i_font_color >> 8;
p_style->i_font_alpha = p_text->i_font_color & 0xFF;
}
- if ( p_text->i_background_color )
+ if ( p_text->i_background_color[3] >> 8 )
{
p_style->i_background_color = p_text->i_background_color[0] >> 8;
p_style->i_background_color |= p_text->i_background_color[1] >> 8;
More information about the vlc-commits
mailing list