diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-10-29 14:16:31 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-10-29 14:16:31 +0000 |
commit | b45a7a18d32e530d784bf2ac0831e27490c3befd (patch) | |
tree | e75d15a0ff69bf9661b3a2db0836bacb3097461a /libavformat/mpegts.h | |
parent | 985180a1b85b366dc649fe1334ed27ac1941644f (diff) | |
download | ffmpeg-b45a7a18d32e530d784bf2ac0831e27490c3befd.tar.gz |
mpeg TS demux API (called from RTP layer) - raw mpeg TS reader (uses fake codec MPEG2TS)
Originally committed as revision 2446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r-- | libavformat/mpegts.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h index 6e56a8e44c..6ffb7562e2 100644 --- a/libavformat/mpegts.h +++ b/libavformat/mpegts.h @@ -42,3 +42,10 @@ unsigned int mpegts_crc32(const uint8_t *data, int len); extern AVOutputFormat mpegts_mux; + +typedef struct MpegTSContext MpegTSContext; + +MpegTSContext *mpegts_parse_open(AVFormatContext *s); +int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt, + const uint8_t *buf, int len); +void mpegts_parse_close(MpegTSContext *ts); |