[vlc-devel] [PATCH] demux: avi: initialize bool
Thomas Guillem
thomas at gllm.fr
Mon Jul 24 09:23:21 CEST 2017
Merged, thanks!
On Mon, Jul 24, 2017, at 09:18, Shaleen Jain wrote:
> ---
> 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 c0f47ac1a8..e20ab706fc 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;
> }
> --
> 2.13.3
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list