From 4682a1dc3aa2554ad7077f5db32d0f2d598d018e Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Wed, 5 Oct 2011 18:24:17 -0700 Subject: mpegts: Add support for Sections in PMT --- libavformat/mpegts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat/mpegts.h') 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 */ -- cgit v1.2.3