Revision f8fec050

View differences:

libavformat/mpegtsenc.c
421 421
    service = av_mallocz(sizeof(MpegTSService));
422 422
    if (!service)
423 423
        return NULL;
424
    service->pmt.pid = ts->pmt_start_pid + ts->nb_services - 1;
424
    service->pmt.pid = ts->pmt_start_pid + ts->nb_services;
425 425
    service->sid = sid;
426 426
    service->provider_name = av_strdup(provider_name);
427 427
    service->name = av_strdup(name);
tests/ref/lavf/ts
1
1cebaf8b13700a3360e0c32551e36646 *./tests/data/lavf/lavf.ts
1
d260ac0534ff2e26b44b5192fd4fdc21 *./tests/data/lavf/lavf.ts
2 2
406644 ./tests/data/lavf/lavf.ts
3 3
./tests/data/lavf/lavf.ts CRC=0x133216c1

Also available in: Unified diff