[vlc-devel] [PATCH 1/2] avi: Fix missing frames when playing unseekable streams (refs #2151)
Rémi Denis-Courmont
remi at remlab.net
Tue Aug 21 20:59:09 CEST 2012
Le mardi 21 août 2012 21:48:36 Samuel Pitoiset, vous avez écrit :
> ---
> modules/demux/avi/avi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
> index 5490296..f2579b8 100644
> --- a/modules/demux/avi/avi.c
> +++ b/modules/demux/avi/avi.c
> @@ -1249,7 +1249,7 @@ static int Demux_UnSeekable( demux_t *p_demux )
> {
> /* check for time */
> if( __ABS( AVI_GetPTS( p_stream ) -
> - AVI_GetPTS( p_stream_master ) )< 600*1000 )
> + AVI_GetPTS( p_stream_master ) ) > -1*1000 )
An absolute value is always bigger than a negative value.
This patch does not make any sense to me.
--
Rémi Denis-Courmont
C/C++ software engineer looking for a job
http://www.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list