Revision ca93bc17 libavformat/flvenc.c

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);

Also available in: Unified diff