one more deuglification

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20826 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-11-09 22:41:45 +00:00
parent 0df02c3583
commit d7e32a0e84
1 changed files with 2 additions and 1 deletions

View File

@ -207,7 +207,8 @@ static int fill_buffer(stream_t *s, char *but, int len)
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;