Commit 0d413e34 authored by bcoudurier's avatar bcoudurier

Start continuity counter at 0 for pmt as well

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22350 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 410f3d02
......@@ -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
......
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment