diff options
author | James Almer <jamrial@gmail.com> | 2024-02-18 23:47:23 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-03-07 08:53:32 -0300 |
commit | 53cdf94653d8bbe5af4899a6808097bd07c38f79 (patch) | |
tree | 0017470ba26d437dd4faf507ca730ca4a16880d4 | |
parent | 823d60d55e68c9b4e33015c97cdb78cc6946bfc4 (diff) | |
download | ffmpeg-53cdf94653d8bbe5af4899a6808097bd07c38f79.tar.gz |
avformat/avformat: remove AVFormatContext.ts_id
It's been replaced by a demuxer exported private option.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/avformat.h | 6 | ||||
-rw-r--r-- | libavformat/mpegts.c | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 48b5b5a9ee..e63654668b 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1592,12 +1592,6 @@ typedef struct AVFormatContext { #define AVFMT_AVOID_NEG_TS_MAKE_ZERO 2 ///< Shift timestamps so that they start at 0 /** - * Transport stream id. - * This will be moved into demuxer private options. Thus no API/ABI compatibility - */ - int ts_id; - - /** * Audio preload in microseconds. * Note, not all formats support this and unpredictable things may happen if it is used when not supported. * - encoding: Set by user diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index d4fe03bb67..de7a3c8b45 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -2561,7 +2561,7 @@ static void pat_cb(MpegTSFilter *filter, const uint8_t *section, int section_len if (skip_identical(h, tssf)) return; - ts->stream->ts_id = ts->id = h->id; + ts->id = h->id; for (;;) { sid = get16(&p, p_end); |