Mercurial > libavcodec.hg
comparison mpeg12.c @ 76:0b09bd08ef4b libavcodec
win32 fixes
| author | glantau |
|---|---|
| date | Wed, 15 Aug 2001 22:33:03 +0000 |
| parents | 361631a8d140 |
| children | 4a090f1da60a |
comparison
equal
deleted
inserted
replaced
| 75:bb7d6fe159ad | 76:0b09bd08ef4b |
|---|---|
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU General Public License | 15 * You should have received a copy of the GNU General Public License |
| 16 * along with this program; if not, write to the Free Software | 16 * along with this program; if not, write to the Free Software |
| 17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 18 */ | 18 */ |
| 19 //#define DEBUG | |
| 19 #include "avcodec.h" | 20 #include "avcodec.h" |
| 20 #include "dsputil.h" | 21 #include "dsputil.h" |
| 21 #include "mpegvideo.h" | 22 #include "mpegvideo.h" |
| 22 | 23 |
| 23 #include "mpeg12data.h" | 24 #include "mpeg12data.h" |
| 24 | |
| 25 //#define DEBUG | |
| 26 | |
| 27 #ifndef CONFIG_WIN32 | |
| 28 | |
| 29 #ifdef DEBUG | |
| 30 #define dprintf(fmt,args...) printf(fmt, ## args) | |
| 31 #else | |
| 32 #define dprintf(fmt,args...) | |
| 33 #endif | |
| 34 | |
| 35 #else | |
| 36 | |
| 37 inline void dprintf(const char* fmt,...) {} | |
| 38 | |
| 39 #endif | |
| 40 | 25 |
| 41 /* Start codes. */ | 26 /* Start codes. */ |
| 42 #define SEQ_END_CODE 0x000001b7 | 27 #define SEQ_END_CODE 0x000001b7 |
| 43 #define SEQ_START_CODE 0x000001b3 | 28 #define SEQ_START_CODE 0x000001b3 |
| 44 #define GOP_START_CODE 0x000001b8 | 29 #define GOP_START_CODE 0x000001b8 |
