Revision 677a1144

View differences:

libavformat/mpegtsenc.c
397 397
                                 DEFAULT_PROVIDER_NAME, service_name);
398 398
    service->pmt.write_packet = section_write_packet;
399 399
    service->pmt.opaque = s;
400
    service->pmt.cc = 15;
400 401

  
401 402
    ts->pat.pid = PAT_PID;
402 403
    ts->pat.cc = 15; // Initialize at 15 so that it wraps and be equal to 0 for the first packet we write
tests/ref/lavf/ts
1
cb7713f07c94ae0fe68a030cc5f13398 *./tests/data/lavf/lavf.ts
1
29be47a2d7aa99c7840430ba313509d3 *./tests/data/lavf/lavf.ts
2 2
428452 ./tests/data/lavf/lavf.ts
3 3
./tests/data/lavf/lavf.ts CRC=0x133216c1

Also available in: Unified diff