Revision 74571e33 libavformat/wtv.c

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
                    url_fskip(pb, 28);
787
                    ff_get_guid(pb, &mediatype);
788
                    ff_get_guid(pb, &subtype);
789
                    url_fskip(pb, 12);
790
                    ff_get_guid(pb, &formattype);
791
                    size = get_le32(pb);
792
                    parse_media_type(s, 0, sid, mediatype, subtype, formattype, size);
793
                    consumed += 92 + size;
786
                url_fskip(pb, 28);
787
                ff_get_guid(pb, &mediatype);
788
                ff_get_guid(pb, &subtype);
789
                url_fskip(pb, 12);
790
                ff_get_guid(pb, &formattype);
791
                size = get_le32(pb);
792
                parse_media_type(s, 0, sid, mediatype, subtype, formattype, size);
793
                consumed += 92 + size;
794 794
            }
795 795
        } else if (!ff_guidcmp(g, stream2_guid)) {
796 796
            int stream_index = ff_find_stream_index(s, sid);

Also available in: Unified diff