mirror of https://github.com/mpv-player/mpv
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:
parent
48480b3ce7
commit
fdcf78eec4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue