Revision b83a00b8 libavformat/flvenc.c

View differences:

libavformat/flvenc.c
351 351
    ts = pkt->dts + flv->delay; // add delay to force positive dts
352 352
    put_be24(pb,size + flags_size);
353 353
    put_be24(pb,ts);
354
    put_byte(pb,ts >> 24);
354
    put_byte(pb,(ts >> 24) & 0x7F); // timestamps are 32bits _signed_
355 355
    put_be24(pb,flv->reserved);
356 356
    put_byte(pb,flags);
357 357
    if (enc->codec_id == CODEC_ID_VP6)

Also available in: Unified diff