Mercurial > libavformat.hg
comparison mpegts.c @ 2555:c226029c8df4 libavformat
loosen dependencies over allformats.h
author | aurel |
---|---|
date | Sun, 16 Sep 2007 23:00:44 +0000 |
parents | b21c2af60bc9 |
children | 9e51e62f5bdd |
comparison
equal
deleted
inserted
replaced
2554:2d6bfd63d606 | 2555:c226029c8df4 |
---|---|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 */ | 20 */ |
21 #include "avformat.h" | 21 #include "avformat.h" |
22 #include "crc.h" | 22 #include "crc.h" |
23 #include "mpegts.h" | 23 #include "mpegts.h" |
24 #include "allformats.h" | |
25 | 24 |
26 //#define DEBUG_SI | 25 //#define DEBUG_SI |
27 //#define DEBUG_SEEK | 26 //#define DEBUG_SEEK |
28 | 27 |
29 /* 1.0 second at 24Mbit/s */ | 28 /* 1.0 second at 24Mbit/s */ |
142 int total_size; | 141 int total_size; |
143 int pes_header_size; | 142 int pes_header_size; |
144 int64_t pts, dts; | 143 int64_t pts, dts; |
145 uint8_t header[MAX_PES_HEADER_SIZE]; | 144 uint8_t header[MAX_PES_HEADER_SIZE]; |
146 }; | 145 }; |
146 | |
147 extern AVInputFormat mpegts_demuxer; | |
147 | 148 |
148 /** | 149 /** |
149 * Assembles PES packets out of TS packets, and then calls the "section_cb" | 150 * Assembles PES packets out of TS packets, and then calls the "section_cb" |
150 * function when they are complete. | 151 * function when they are complete. |
151 */ | 152 */ |