[FFmpeg-cvslog] r23732 - trunk/libavformat/asfdec.c

michael subversion
Wed Jun 23 04:04:55 CEST 2010


Author: michael
Date: Wed Jun 23 04:04:55 2010
New Revision: 23732

Log:
Continue after guids in asf after which other guids are possible instead of skiping
over the stored size.
Fixes issue2029

Modified:
   trunk/libavformat/asfdec.c

Modified: trunk/libavformat/asfdec.c
==============================================================================
--- trunk/libavformat/asfdec.c	Wed Jun 23 02:08:21 2010	(r23731)
+++ trunk/libavformat/asfdec.c	Wed Jun 23 04:04:55 2010	(r23732)
@@ -519,11 +519,13 @@ static int asf_read_header(AVFormatConte
 
             // 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];



More information about the ffmpeg-cvslog mailing list