diff options
Diffstat (limited to 'contrib/ffmpeg/libavformat/mpegts.h')
-rw-r--r-- | contrib/ffmpeg/libavformat/mpegts.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/ffmpeg/libavformat/mpegts.h b/contrib/ffmpeg/libavformat/mpegts.h index 771becbd4..bdfc760b3 100644 --- a/contrib/ffmpeg/libavformat/mpegts.h +++ b/contrib/ffmpeg/libavformat/mpegts.h @@ -19,6 +19,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef FFMPEG_MPEGTS_H +#define FFMPEG_MPEGTS_H + +#include "avformat.h" + #define TS_FEC_PACKET_SIZE 204 #define TS_DVHS_PACKET_SIZE 192 #define TS_PACKET_SIZE 188 @@ -50,14 +55,15 @@ #define STREAM_TYPE_AUDIO_AC3 0x81 #define STREAM_TYPE_AUDIO_DTS 0x8a +#define STREAM_TYPE_AUDIO_HDMV_DTS 0x82 #define STREAM_TYPE_SUBTITLE_DVB 0x100 -extern AVOutputFormat mpegts_muxer; - 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); + +#endif /* FFMPEG_MPEGTS_H */ |