[MPlayer-cvslog] r31994 - trunk/stream/stream_bd.c

reimar subversion at mplayerhq.hu
Sat Aug 21 11:47:09 CEST 2010


Author: reimar
Date: Sat Aug 21 11:47:08 2010
New Revision: 31994

Log:
Format NULL-pointer check consistently.

Modified:
   trunk/stream/stream_bd.c

Modified: trunk/stream/stream_bd.c
==============================================================================
--- trunk/stream/stream_bd.c	Sat Aug 21 11:46:06 2010	(r31993)
+++ trunk/stream/stream_bd.c	Sat Aug 21 11:47:08 2010	(r31994)
@@ -181,7 +181,7 @@ static int find_vuk(struct bd_priv *bd, 
         mp_msg(MSGT_OPEN, MSGL_V, "KeyDB found Entry for DiscID:\n%s\n", line);
 
         vst = strstr(line, "| V |");
-        if (vst == 0)
+        if (!vst)
             break;
         sscanf(&vst[6], "%32s", d);
         for (i = 0; i < 16; i++) {


More information about the MPlayer-cvslog mailing list