1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavf/mpegts: remove obsolete ff_mpegts_parse_* cruft

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
James Almer 2014-08-09 22:01:47 -03:00 committed by Michael Niedermayer
parent 59ecd4882d
commit 31b7ab9f06
2 changed files with 0 additions and 25 deletions

View File

@ -2675,24 +2675,6 @@ void avpriv_mpegts_parse_close(MpegTSContext *ts)
av_free(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 = { AVInputFormat ff_mpegts_demuxer = {
.name = "mpegts", .name = "mpegts",
.long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"), .long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"),

View File

@ -68,13 +68,6 @@ int avpriv_mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
const uint8_t *buf, int len); const uint8_t *buf, int len);
void avpriv_mpegts_parse_close(MpegTSContext *ts); 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 { typedef struct SLConfigDescr {
int use_au_start; int use_au_start;
int use_au_end; int use_au_end;