changeset 3116:62255978fe94 libavformat

Skip over unknown extended_content_header tags. fixes issue358
author michael
date Thu, 06 Mar 2008 00:26:48 +0000
parents 924d2cb02fd1
children 021b8af968cd
files asf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/asf.c	Thu Mar 06 00:20:49 2008 +0000
+++ b/asf.c	Thu Mar 06 00:26:48 2008 +0000
@@ -415,7 +415,8 @@
                                 value_num= get_value(pb, value_type);
                                 if (!strcmp(name,"WM/Track"      ) && s->track == 0) s->track = value_num + 1;
                                 if (!strcmp(name,"WM/TrackNumber")) s->track = value_num;
-                        }
+                        }else
+                            url_fskip(pb, value_len);
                 }
         } else if (!memcmp(&g, &metadata_header, sizeof(GUID))) {
             int n, stream_num, name_len, value_len, value_type, value_num;