[MPlayer-dev-eng] [PATCH] fix null pointer check in add_subtitles

Guillaume Poirier gpoirier at mplayerhq.hu
Mon Aug 21 09:49:31 CEST 2006


Hi,

Konstantin G. Khlebikov wrote:
> 
> ------------------------------------------------------------------------
> 
> Index: mplayer.c
> ===================================================================
> --- mplayer.c	(revision 19473)
> +++ mplayer.c	(working copy)
> @@ -814,7 +814,7 @@
>  #ifdef USE_ASS
>      if (ass_enabled)
>          asst = ass_read_file(filename);
> -    if (ass_enabled && !asst)
> +    if (ass_enabled && subd && !asst)
>          asst = ass_read_subdata(subd, fps);
>  
>      if (!asst && !subd && !silent)
> 
> 
> ------------------------------------------------------------------------

I'll apply it tomorrow unless Evgeniy Stepanov disagrees or beats me
for it.

Guillaume



More information about the MPlayer-dev-eng mailing list