[FFmpeg-cvslog] r22350 - in trunk: libavformat/mpegtsenc.c tests/ref/lavf/ts

bcoudurier subversion
Mon Mar 8 23:44:03 CET 2010


Author: bcoudurier
Date: Mon Mar  8 23:44:03 2010
New Revision: 22350

Log:
Start continuity counter at 0 for pmt as well

Modified:
   trunk/libavformat/mpegtsenc.c
   trunk/tests/ref/lavf/ts

Modified: trunk/libavformat/mpegtsenc.c
==============================================================================
--- trunk/libavformat/mpegtsenc.c	Mon Mar  8 23:16:05 2010	(r22349)
+++ trunk/libavformat/mpegtsenc.c	Mon Mar  8 23:44:03 2010	(r22350)
@@ -397,6 +397,7 @@ static int mpegts_write_header(AVFormatC
                                  DEFAULT_PROVIDER_NAME, service_name);
     service->pmt.write_packet = section_write_packet;
     service->pmt.opaque = s;
+    service->pmt.cc = 15;
 
     ts->pat.pid = PAT_PID;
     ts->pat.cc = 15; // Initialize at 15 so that it wraps and be equal to 0 for the first packet we write

Modified: trunk/tests/ref/lavf/ts
==============================================================================
--- trunk/tests/ref/lavf/ts	Mon Mar  8 23:16:05 2010	(r22349)
+++ trunk/tests/ref/lavf/ts	Mon Mar  8 23:44:03 2010	(r22350)
@@ -1,3 +1,3 @@
-cb7713f07c94ae0fe68a030cc5f13398 *./tests/data/lavf/lavf.ts
+29be47a2d7aa99c7840430ba313509d3 *./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