Revision ce5e49b0 libavformat/gxfenc.c

View differences:

libavformat/gxfenc.c
834 834
        avio_wb16(pb, size / 2);
835 835
    } else if (st->codec->codec_id == CODEC_ID_MPEG2VIDEO) {
836 836
        int frame_type = gxf_parse_mpeg_frame(sc, pkt->data, pkt->size);
837
        if (frame_type == FF_I_TYPE) {
837
        if (frame_type == AV_PICTURE_TYPE_I) {
838 838
            avio_w8(pb, 0x0d);
839 839
            sc->iframes++;
840
        } else if (frame_type == FF_B_TYPE) {
840
        } else if (frame_type == AV_PICTURE_TYPE_B) {
841 841
            avio_w8(pb, 0x0f);
842 842
            sc->bframes++;
843 843
        } else {

Also available in: Unified diff