summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.h
diff options
context:
space:
mode:
authorIsaac Richards <ijr@po.cwru.edu>2003-07-10 09:04:04 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-07-10 09:04:04 +0000
commitec23a47286a9be0ca67b78f4d8b9d87220c18286 (patch)
tree0cc1d63b3c2569916c81fcd2aab95f03a98f0e00 /libavformat/mpegts.h
parent3d32b429d3dfbb5f39528a598fe13e88b0543e85 (diff)
- Looks a tiny bit harder in mpegps_probe() for a valid start code. This is
needed to detect some files produced by pvr-250/350 capture cards. - Adds AC3 audio support to the mpegts demuxer, and makes it a little more tolerant of bad files. patch by (Isaac Richards <ijr at po dot cwru dot edu>) Originally committed as revision 2028 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r--libavformat/mpegts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 8296ccfb98..6e56a8e44c 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -38,5 +38,7 @@
#define STREAM_TYPE_PRIVATE_SECTION 0x05
#define STREAM_TYPE_PRIVATE_DATA 0x06
+#define STREAM_TYPE_AUDIO_AC3 0x81
+
unsigned int mpegts_crc32(const uint8_t *data, int len);
extern AVOutputFormat mpegts_mux;