plen=0 is handled

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10833 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-09-07 01:41:09 +00:00
parent 312149424d
commit 8d49e37b89
1 changed files with 2 additions and 1 deletions

View File

@ -183,7 +183,8 @@ int demux_asf_fill_buffer(demuxer_t *demux){
case 2: plen=LOAD_LE16(p);p+=2;break; // word case 2: plen=LOAD_LE16(p);p+=2;break; // word
case 1: plen=p[0];p++;break; // byte case 1: plen=p[0];p++;break; // byte
default: plen=0; default: plen=0;
mp_msg(MSGT_DEMUX,MSGL_V,"Invalid plen type! assuming plen=0\n"); //plen==0 is handled later
//mp_msg(MSGT_DEMUX,MSGL_V,"Invalid plen type! assuming plen=0\n");
} }
// Read sequence: // Read sequence: