Mercurial > libavformat.hg
diff mpegts.h @ 292:155ce13f1033 libavformat
mpeg TS demux API (called from RTP layer) - raw mpeg TS reader (uses fake codec MPEG2TS)
| author | bellard |
|---|---|
| date | Wed, 29 Oct 2003 14:16:31 +0000 |
| parents | e4d2f704bf80 |
| children | 622892a75ddb |
line wrap: on
line diff
--- a/mpegts.h Tue Oct 28 10:55:15 2003 +0000 +++ b/mpegts.h Wed Oct 29 14:16:31 2003 +0000 @@ -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);
