Revision ca93bc17

View differences:

libavformat/flvenc.c
366 366
        enc->extradata_size > 0 && *(uint8_t*)enc->extradata != 1) {
367 367
        ff_avc_parse_nal_units(pb, pkt->data, pkt->size);
368 368
    } else {
369
    put_buffer(pb, pkt->data, size);
369
        put_buffer(pb, pkt->data, size);
370 370
    }
371 371
    put_be32(pb,size+flags_size+11); // previous tag size
372 372
    flv->duration = FFMAX(flv->duration, pkt->pts + flv->delay + pkt->duration);
libavformat/matroskaenc.c
801 801
        /* nal reformating needed */
802 802
        ff_avc_parse_nal_units(pb, pkt->data, pkt->size);
803 803
    } else {
804
    put_buffer(pb, pkt->data, pkt->size);
804
        put_buffer(pb, pkt->data, pkt->size);
805 805
    }
806 806
}
807 807

  
libavformat/movenc.c
1774 1774
        /* nal reformating needed */
1775 1775
        ff_avc_parse_nal_units(pb, pkt->data, pkt->size);
1776 1776
    } else {
1777
    put_buffer(pb, pkt->data, size);
1777
        put_buffer(pb, pkt->data, size);
1778 1778
    }
1779 1779

  
1780 1780
    put_flush_packet(pb);

Also available in: Unified diff