Commit 31b7ab9f authored by James Almer's avatar James Almer Committed by Michael Niedermayer

lavf/mpegts: remove obsolete ff_mpegts_parse_* cruft

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 59ecd488
......@@ -2675,24 +2675,6 @@ void avpriv_mpegts_parse_close(MpegTSContext *ts)
av_free(ts);
}
#if LIBAVFORMAT_VERSION_MAJOR < 56
MpegTSContext *ff_mpegts_parse_open(AVFormatContext *s)
{
return avpriv_mpegts_parse_open(s);
}
int ff_mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
const uint8_t *buf, int len)
{
return avpriv_mpegts_parse_packet(ts, pkt, buf, len);
}
void ff_mpegts_parse_close(MpegTSContext *ts)
{
avpriv_mpegts_parse_close(ts);
}
#endif
AVInputFormat ff_mpegts_demuxer = {
.name = "mpegts",
.long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"),
......
......@@ -68,13 +68,6 @@ int avpriv_mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
const uint8_t *buf, int len);
void avpriv_mpegts_parse_close(MpegTSContext *ts);
#if LIBAVFORMAT_VERSION_MAJOR < 56
MpegTSContext *ff_mpegts_parse_open(AVFormatContext *s);
int ff_mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
const uint8_t *buf, int len);
void ff_mpegts_parse_close(MpegTSContext *ts);
#endif
typedef struct SLConfigDescr {
int use_au_start;
int use_au_end;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment