Mercurial > mplayer.hg
changeset 25296:e91e3944c07d
removed stupid checks
author | nicodvb |
---|---|
date | Sat, 08 Dec 2007 18:16:02 +0000 |
parents | c0bfef5a23da |
children | 949e15337e50 |
files | stream/stream_dvdnav.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvdnav.c Sat Dec 08 16:27:25 2007 +0000 +++ b/stream/stream_dvdnav.c Sat Dec 08 18:16:02 2007 +0000 @@ -141,11 +141,7 @@ static int dvdnav_stream_read(dvdnav_priv_t * priv, unsigned char *buf, int *len) { int event = DVDNAV_NOP; - if (!len) return -1; *len=-1; - if (!priv) return -1; - if (!buf) return -1; - if (dvdnav_get_next_block(priv->dvdnav,buf,&event,len)!=DVDNAV_STATUS_OK) { mp_msg(MSGT_OPEN,MSGL_V, "Error getting next block from DVD %d (%s)\n",event, dvdnav_err_to_string(priv->dvdnav) ); *len=-1;