summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.h
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-10-05 18:24:17 -0700
committerAlex Converse <alex.converse@gmail.com>2011-10-28 14:54:14 -0700
commit4682a1dc3aa2554ad7077f5db32d0f2d598d018e (patch)
tree086dd233a90e105597624b711b29138011f9a83e /libavformat/mpegts.h
parentfec2836483c15f169c3f8be39347978f1698ae8d (diff)
mpegts: Add support for Sections in PMT
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r--libavformat/mpegts.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 15eee60782..560637b4fe 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -39,6 +39,7 @@
/* table ids */
#define PAT_TID 0x00
#define PMT_TID 0x02
+#define M4OD_TID 0x05
#define SDT_TID 0x42
#define STREAM_TYPE_VIDEO_MPEG1 0x01
@@ -85,6 +86,7 @@ typedef struct {
*/
int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type,
const uint8_t **pp, const uint8_t *desc_list_end,
- Mp4Descr *mp4_descr, int mp4_descr_count, int pid);
+ Mp4Descr *mp4_descr, int mp4_descr_count, int pid,
+ MpegTSContext *ts);
#endif /* AVFORMAT_MPEGTS_H */