changeset 27632:8cc7db468b6b

Do not special-case a grouping-subsegment length of 0. Fixes samples/asf-wmv/quicktime.wmv
author reimar
date Thu, 25 Sep 2008 17:11:01 +0000
parents 42b15a81b468
children 6a7cdd00599f
files libmpdemux/demux_asf.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_asf.c	Thu Sep 25 06:51:42 2008 +0000
+++ b/libmpdemux/demux_asf.c	Thu Sep 25 17:11:01 2008 +0000
@@ -499,7 +499,6 @@
 		  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;