Mercurial > mplayer.hg
changeset 20810:4d2c03da592c
one more deuglification
author | nicodvb |
---|---|
date | Thu, 09 Nov 2006 22:41:45 +0000 |
parents | ab7e5eb57d52 |
children | 828ee0cb0806 |
files | stream/stream_dvdnav.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;