Mercurial > libavformat.hg
diff mpegts.h @ 165:e4d2f704bf80 libavformat
- 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>)
author | michaelni |
---|---|
date | Thu, 10 Jul 2003 09:04:04 +0000 |
parents | 9bde37b1a5ce |
children | 155ce13f1033 |
line wrap: on
line diff
--- a/mpegts.h Wed Jul 09 23:10:59 2003 +0000 +++ b/mpegts.h Thu Jul 10 09:04:04 2003 +0000 @@ -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;