comparison asfdec.c @ 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 8d92fb0a1a24
children 240beb8a3072
comparison
equal deleted inserted replaced
6166:474f78ca41d8 6167:7827c07e6813
517 url_fseek(pb, ext_len, SEEK_CUR); 517 url_fseek(pb, ext_len, SEEK_CUR);
518 } 518 }
519 519
520 // there could be a optional stream properties object to follow 520 // there could be a optional stream properties object to follow
521 // if so the next iteration will pick it up 521 // if so the next iteration will pick it up
522 continue;
522 } else if (!guidcmp(&g, &ff_asf_head1_guid)) { 523 } else if (!guidcmp(&g, &ff_asf_head1_guid)) {
523 int v1, v2; 524 int v1, v2;
524 get_guid(pb, &g); 525 get_guid(pb, &g);
525 v1 = get_le32(pb); 526 v1 = get_le32(pb);
526 v2 = get_le16(pb); 527 v2 = get_le16(pb);
528 continue;
527 } else if (!guidcmp(&g, &ff_asf_marker_header)) { 529 } else if (!guidcmp(&g, &ff_asf_marker_header)) {
528 int i, count, name_len; 530 int i, count, name_len;
529 char name[1024]; 531 char name[1024];
530 532
531 get_le64(pb); // reserved 16 bytes 533 get_le64(pb); // reserved 16 bytes