Mercurial > libavformat.hg
comparison ipmovie.c @ 386:c152849ee643 libavformat
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG
author | melanson |
---|---|
date | Sun, 14 Mar 2004 04:04:08 +0000 |
parents | 0fb9e6396a0d |
children | b69898ffc92a |
comparison
equal
deleted
inserted
replaced
385:2f56d366a787 | 386:c152849ee643 |
---|---|
39 #if DEBUG_IPMOVIE | 39 #if DEBUG_IPMOVIE |
40 #define debug_ipmovie printf | 40 #define debug_ipmovie printf |
41 #else | 41 #else |
42 static inline void debug_ipmovie(const char *format, ...) { } | 42 static inline void debug_ipmovie(const char *format, ...) { } |
43 #endif | 43 #endif |
44 | |
45 | |
46 #define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) | |
47 #define LE_32(x) ((((uint8_t*)(x))[3] << 24) | \ | |
48 (((uint8_t*)(x))[2] << 16) | \ | |
49 (((uint8_t*)(x))[1] << 8) | \ | |
50 ((uint8_t*)(x))[0]) | |
51 | 44 |
52 #define IPMOVIE_SIGNATURE "Interplay MVE File\x1A\0" | 45 #define IPMOVIE_SIGNATURE "Interplay MVE File\x1A\0" |
53 #define IPMOVIE_SIGNATURE_SIZE 20 | 46 #define IPMOVIE_SIGNATURE_SIZE 20 |
54 #define CHUNK_PREAMBLE_SIZE 4 | 47 #define CHUNK_PREAMBLE_SIZE 4 |
55 #define OPCODE_PREAMBLE_SIZE 4 | 48 #define OPCODE_PREAMBLE_SIZE 4 |