Mercurial > libavformat.hg
changeset 5782:3b477aba769a libavformat
Start continuity counter at 0 for pmt as well
author | bcoudurier |
---|---|
date | Mon, 08 Mar 2010 22:44:03 +0000 |
parents | 2d93c764dc54 |
children | ca28eb609756 |
files | mpegtsenc.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegtsenc.c Mon Mar 08 20:59:00 2010 +0000 +++ b/mpegtsenc.c Mon Mar 08 22:44:03 2010 +0000 @@ -397,6 +397,7 @@ 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