Revision f8fec050 libavformat/mpegtsenc.c

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);

Also available in: Unified diff