[MPlayer-cvslog] r20826 - trunk/stream/stream_dvdnav.c

nicodvb subversion at mplayerhq.hu
Thu Nov 9 23:41:46 CET 2006


Author: nicodvb
Date: Thu Nov  9 23:41:45 2006
New Revision: 20826

Modified:
   trunk/stream/stream_dvdnav.c

Log:
one more deuglification

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Thu Nov  9 23:41:45 2006
@@ -207,7 +207,8 @@
       update_title_len(s);
     while(!len) /* grab all event until DVDNAV_BLOCK_OK (len=2048), DVDNAV_STOP or DVDNAV_STILL_FRAME */
     {
-      if(-1==(event=dvdnav_stream_read(priv, s->buffer, &len)) || len==-1)
+      event=dvdnav_stream_read(priv, s->buffer, &len);
+      if(event==-1 || len==-1)
       {
         mp_msg(MSGT_CPLAYER,MSGL_ERR, "DVDNAV stream read error!\n");
         return 0;



More information about the MPlayer-cvslog mailing list