Do not special-case a grouping-subsegment length of 0.

Fixes samples/asf-wmv/quicktime.wmv


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27664 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-09-25 17:11:01 +00:00
parent 48480b3ce7
commit fdcf78eec4
1 changed files with 0 additions and 1 deletions

View File

@ -499,7 +499,6 @@ static int demux_asf_fill_buffer(demuxer_t *demux, demux_stream_t *ds){
p++;
//printf(" group part: %d bytes\n",len2);
if(len2 > len - 1 || len2 < 0) break; // Not enough data
if(len2 == 0) continue;
len2 = FFMIN(len2, asf->packetsize);
demux_asf_read_packet(demux,p,len2,streamno,seq,x,duration,-1,keyframe);
p+=len2;