[vlc-commits] demux: avi: initialize bool
Shaleen Jain
git at videolan.org
Mon Jul 24 09:23:11 CEST 2017
vlc | branch: master | Shaleen Jain <shaleen.jain95 at gmail.com> | Mon Jul 24 13:06:50 2017 +0530| [3266d738e906b38b53f7936f58565441d0652713] | committer: Thomas Guillem
demux: avi: initialize bool
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3266d738e906b38b53f7936f58565441d0652713
---
modules/demux/avi/avi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 238ef8b31f..34b867d721 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -1003,12 +1003,12 @@ static int Demux_Seekable( demux_t *p_demux )
for( i_track = 0; i_track < p_sys->i_track; i_track++ )
{
avi_track_t *tk = p_sys->track[i_track];
- bool b;
+ bool b = false;
es_out_Control( p_demux->out, ES_OUT_GET_ES_STATE, tk->p_es, &b );
if( tk->p_es_dv_audio )
{
- bool b_extra;
+ bool b_extra = false;
es_out_Control( p_demux->out, ES_OUT_GET_ES_STATE, tk->p_es_dv_audio, &b_extra );
b |= b_extra;
}
More information about the vlc-commits
mailing list