[MPlayer-dev-eng] [PATCH] Fw: [Mplayer-advusers] patch for previously described bug

Arpi arpi at thot.banki.hu
Sat May 17 12:58:38 CEST 2003


Hi,

> Can someone have a look at this ?

> +++ libmpdemux/video.c	2003-05-16 15:43:34.000000000 -0400
> @@ -35,8 +35,11 @@
>  static float telecine_cnt=-2.5;
>  
>  int video_read_properties(sh_video_t *sh_video){
> -demux_stream_t *d_video=sh_video->ds;
> -
> +demux_stream_t *d_video = sh_video->ds;
> +if (!d_video) {
> +  return 0;
> +}
> +   

this is bad fix
if d_video==NULL in video_read_properties then sth is very very very bad,
as result of some bug earlier.

this one just delays teh sig11, nothing more


A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list