]> git.sesse.net Git - ffmpeg/commitdiff
lavf/mpegts: remove obsolete ff_mpegts_parse_* cruft
authorJames Almer <jamrial@gmail.com>
Sun, 10 Aug 2014 01:01:47 +0000 (22:01 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Aug 2014 11:46:53 +0000 (13:46 +0200)
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c
libavformat/mpegts.h

index a2456a3861ecf3de59abb5be2b21b9366ac6b5e0..d2a25317d9a2217c6f3b5d13b37b6d97bdf191f8 100644 (file)
@@ -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)"),
index 1cd1ba17709eddc3563563c4daf56d166bffaf6a..84f30983c13c7a04f153be6c8f1752241bc29251 100644 (file)
@@ -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;