[MPlayer-cvslog] r33513 - trunk/stream/stream_cue.c

reimar subversion at mplayerhq.hu
Sun May 29 13:41:40 CEST 2011


Author: reimar
Date: Sun May 29 13:41:40 2011
New Revision: 33513

Log:
Simplify NULL check.

Modified:
   trunk/stream/stream_cue.c

Modified: trunk/stream/stream_cue.c
==============================================================================
--- trunk/stream/stream_cue.c	Sun May 29 13:39:25 2011	(r33512)
+++ trunk/stream/stream_cue.c	Sun May 29 13:41:40 2011	(r33513)
@@ -320,7 +320,7 @@ static int cue_read_cue (const char *in_
   /* split the filename into a path and filename part */
   s = strdup(in_cue_filename);
   t = strrchr(s, '/');
-  if (t == (char *)NULL)
+  if (!t)
      t = ".";
   else {
      *t = '\0';


More information about the MPlayer-cvslog mailing list