[FFmpeg-cvslog] r22343 - in trunk: libavformat/mpegtsenc.c tests/ref/lavf/ts
bcoudurier
subversion
Mon Mar 8 21:57:43 CET 2010
Author: bcoudurier
Date: Mon Mar 8 21:57:42 2010
New Revision: 22343
Log:
10l typo, fix ts total bit rate computation
Modified:
trunk/libavformat/mpegtsenc.c
trunk/tests/ref/lavf/ts
Modified: trunk/libavformat/mpegtsenc.c
==============================================================================
--- trunk/libavformat/mpegtsenc.c Mon Mar 8 21:17:51 2010 (r22342)
+++ trunk/libavformat/mpegtsenc.c Mon Mar 8 21:57:42 2010 (r22343)
@@ -476,8 +476,8 @@ static int mpegts_write_header(AVFormatC
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)
Modified: trunk/tests/ref/lavf/ts
==============================================================================
--- trunk/tests/ref/lavf/ts Mon Mar 8 21:17:51 2010 (r22342)
+++ trunk/tests/ref/lavf/ts Mon Mar 8 21:57:42 2010 (r22343)
@@ -1,3 +1,3 @@
-3ecdc566c525d58bc287ce1baffd9407 *./tests/data/lavf/lavf.ts
- 430144 ./tests/data/lavf/lavf.ts
+1e39846ad39b799686df372fcf08d8b0 *./tests/data/lavf/lavf.ts
+428452 ./tests/data/lavf/lavf.ts
./tests/data/lavf/lavf.ts CRC=0x133216c1
More information about the ffmpeg-cvslog
mailing list