changeset 6167:7827c07e6813 libavformat

Continue after guids in asf after which other guids are possible instead of skiping over the stored size. Fixes issue2029
author michael
date Wed, 23 Jun 2010 02:04:55 +0000
parents 474f78ca41d8
children 48548659926c
files asfdec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/asfdec.c	Tue Jun 22 22:54:32 2010 +0000
+++ b/asfdec.c	Wed Jun 23 02:04:55 2010 +0000
@@ -519,11 +519,13 @@
 
             // there could be a optional stream properties object to follow
             // if so the next iteration will pick it up
+            continue;
         } else if (!guidcmp(&g, &ff_asf_head1_guid)) {
             int v1, v2;
             get_guid(pb, &g);
             v1 = get_le32(pb);
             v2 = get_le16(pb);
+            continue;
         } else if (!guidcmp(&g, &ff_asf_marker_header)) {
             int i, count, name_len;
             char name[1024];