Revision 677a1144 libavformat/mpegtsenc.c

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

Also available in: Unified diff