[vlc-devel] [PATCH 01/11] ogg: don't call pf_demux() directly
Rémi Denis-Courmont
remi at remlab.net
Mon May 2 18:59:29 CEST 2016
Le 2016-05-02 18:24, Steve Lhomme a écrit :
> ---
> modules/demux/ogg.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
> index 40b26c6..8b47e86 100644
> --- a/modules/demux/ogg.c
> +++ b/modules/demux/ogg.c
> @@ -246,7 +246,7 @@ static int Open( vlc_object_t * p_this )
> TAB_INIT( p_sys->i_seekpoints, p_sys->pp_seekpoints );
>
>
> - while ( !p_sys->b_preparsing_done && p_demux->pf_demux( p_demux
> ) > 0 )
> + while ( !p_sys->b_preparsing_done && demux_Demux( p_demux ) > 0
> )
This patch itself looks OK, but something is wrong if you depend on it.
> {}
>
> return VLC_SUCCESS;
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list