Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 281340
Collapse All | Expand All

(-)libavformat/mov.c (-4 / +6 lines)
Lines 763-777 Link Here
763
    for(pseudo_stream_id=0; pseudo_stream_id<entries; pseudo_stream_id++) {
763
    for(pseudo_stream_id=0; pseudo_stream_id<entries; pseudo_stream_id++) {
764
        //Parsing Sample description table
764
        //Parsing Sample description table
765
        enum CodecID id;
765
        enum CodecID id;
766
        int dref_id;
766
        int dref_id = 1;
767
        MOVAtom a = { 0, 0, 0 };
767
        MOVAtom a = { 0, 0, 0 };
768
        int64_t start_pos = url_ftell(pb);
768
        int64_t start_pos = url_ftell(pb);
769
        int size = get_be32(pb); /* size */
769
        int size = get_be32(pb); /* size */
770
        uint32_t format = get_le32(pb); /* data format */
770
        uint32_t format = get_le32(pb); /* data format */
771
771
772
        get_be32(pb); /* reserved */
772
        if (size >= 16) {
773
        get_be16(pb); /* reserved */
773
            get_be32(pb); /* reserved */
774
        dref_id = get_be16(pb);
774
            get_be16(pb); /* reserved */
775
            dref_id = get_be16(pb);
776
        }
775
777
776
        if (st->codec->codec_tag &&
778
        if (st->codec->codec_tag &&
777
            st->codec->codec_tag != format &&
779
            st->codec->codec_tag != format &&

Return to bug 281340