Revision 699d55fb

View differences:

libavformat/wtv.c
783 783
            if (ff_find_stream_index(s, sid) < 0) {
784 784
                ff_asf_guid mediatype, subtype, formattype;
785 785
                int size;
786
                consumed += 20;
787
                url_fskip(pb, 16);
788
                if (get_le32(pb)) {
789
                    url_fskip(pb, 8);
786
                    url_fskip(pb, 28);
790 787
                    ff_get_guid(pb, &mediatype);
791 788
                    ff_get_guid(pb, &subtype);
792 789
                    url_fskip(pb, 12);
793 790
                    ff_get_guid(pb, &formattype);
794 791
                    size = get_le32(pb);
795 792
                    parse_media_type(s, 0, sid, mediatype, subtype, formattype, size);
796
                    consumed += 72 + size;
797
                }
793
                    consumed += 92 + size;
798 794
            }
799 795
        } else if (!ff_guidcmp(g, stream2_guid)) {
800 796
            int stream_index = ff_find_stream_index(s, sid);

Also available in: Unified diff