changeset 5780:0f6f08ff7047 libavformat

10l typo, fix ts total bit rate computation
author bcoudurier
date Mon, 08 Mar 2010 20:57:42 +0000
parents 3126d2588595
children 2d93c764dc54
files mpegtsenc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpegtsenc.c	Mon Mar 08 18:43:27 2010 +0000
+++ b/mpegtsenc.c	Mon Mar 08 20:57:42 2010 +0000
@@ -476,8 +476,8 @@
 
     total_bit_rate +=
         total_bit_rate * 4 / (TS_PACKET_SIZE-4)        + /* TS header size */
-        1000 * 8 * sdt_size     / PAT_RETRANS_TIME     + /* SDT size */
-        1000 * 8 * pat_pmt_size / SDT_RETRANS_TIME     + /* PAT+PMT size */
+        1000 * 8 * sdt_size     / SDT_RETRANS_TIME     + /* SDT size */
+        1000 * 8 * pat_pmt_size / PAT_RETRANS_TIME     + /* PAT+PMT size */
         1000 * 8 * 8            / PCR_RETRANS_TIME;      /* PCR size */
 
     if (s->mux_rate)