Revision 9169174f

View differences:

libavformat/mpegtsenc.c
476 476

  
477 477
    total_bit_rate +=
478 478
        total_bit_rate * 4 / (TS_PACKET_SIZE-4)        + /* TS header size */
479
        1000 * 8 * sdt_size     / PAT_RETRANS_TIME     + /* SDT size */
480
        1000 * 8 * pat_pmt_size / SDT_RETRANS_TIME     + /* PAT+PMT size */
479
        1000 * 8 * sdt_size     / SDT_RETRANS_TIME     + /* SDT size */
480
        1000 * 8 * pat_pmt_size / PAT_RETRANS_TIME     + /* PAT+PMT size */
481 481
        1000 * 8 * 8            / PCR_RETRANS_TIME;      /* PCR size */
482 482

  
483 483
    if (s->mux_rate)
tests/ref/lavf/ts
1
3ecdc566c525d58bc287ce1baffd9407 *./tests/data/lavf/lavf.ts
2
  430144 ./tests/data/lavf/lavf.ts
1
1e39846ad39b799686df372fcf08d8b0 *./tests/data/lavf/lavf.ts
2
428452 ./tests/data/lavf/lavf.ts
3 3
./tests/data/lavf/lavf.ts CRC=0x133216c1

Also available in: Unified diff