[MPlayer-cvslog] CVS: main mplayer.c,1.830,1.831
Sascha Sommer CVS
syncmail at mplayerhq.hu
Fri Feb 4 20:19:44 CET 2005
CVS change done by Sascha Sommer CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv6240
Modified Files:
mplayer.c
Log Message:
avoid null pointer dereference with .ssa subtitles when the video codec is missing patch by Philip Chong <pchong at ic.eecs.berkeley.edu>
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.830
retrieving revision 1.831
diff -u -r1.830 -r1.831
--- mplayer.c 29 Jan 2005 21:26:20 -0000 1.830
+++ mplayer.c 4 Feb 2005 19:19:42 -0000 1.831
@@ -4001,7 +4001,7 @@
#ifdef USE_SUB
// find sub
- if(subdata && sh_video->pts>0){
+ if(subdata && sh_video && sh_video->pts>0){
float pts=sh_video->pts;
if(sub_fps==0) sub_fps=sh_video->fps;
current_module="find_sub";
More information about the MPlayer-cvslog
mailing list