[FFmpeg-devel] [PATCH 1/2] v3 - SCTE extraction from mpegts

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Aug 4 01:53:30 EEST 2016


2016-08-03 21:36 GMT+02:00 Carlos Fernandez Sanz <carlos at ccextractor.org>:
> From: Carlos <carlos at ccextractor.org>
> -
> -    } else {

> +    } else if (tss->type == MPEGTS_PES) {
>          int ret;
>          // Note: The position here points actually behind the current packet.
> -        if (tss->type == MPEGTS_PES) {
> -            if ((ret = tss->u.pes_filter.pes_cb(tss, p, p_end - p, is_start,
> +        if ((ret = tss->u.pes_filter.pes_cb(tss, p, p_end - p, is_start,
>                                                  pos - ts->raw_packet_size)) < 0)
> -                return ret;
> -        }
> +            return ret;

This looks lilke an unrelated change to me.

Carl Eugen


More information about the ffmpeg-devel mailing list