diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-03-08 22:44:03 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-03-08 22:44:03 +0000 |
commit | 677a1144b090b8575b95f71afa03691ba11d72b7 (patch) | |
tree | ed213e4183af7cb5b73ce8892c3582ba8a798538 /libavformat | |
parent | f0a912d3b8346f3bad2e0b9f03234d233d1dccdf (diff) | |
download | ffmpeg-677a1144b090b8575b95f71afa03691ba11d72b7.tar.gz |
Start continuity counter at 0 for pmt as well
Originally committed as revision 22350 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegtsenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index a60c80822f..f5f6a6104d 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -397,6 +397,7 @@ static int mpegts_write_header(AVFormatContext *s) 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 |