# HG changeset patch # User nicodvb # Date 1163112105 0 # Node ID 4d2c03da592c3e69a614860bc06396b96015885e # Parent ab7e5eb57d527335fcaadc1bdb213e278433a57b one more deuglification diff -r ab7e5eb57d52 -r 4d2c03da592c stream/stream_dvdnav.c --- a/stream/stream_dvdnav.c Thu Nov 09 22:24:57 2006 +0000 +++ b/stream/stream_dvdnav.c Thu Nov 09 22:41:45 2006 +0000 @@ -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;