diff options
| author | Andrew Clayton <andrew@digital-domain.net> | 2020-01-06 02:39:40 +0000 |
|---|---|---|
| committer | Andrew Clayton <andrew@digital-domain.net> | 2020-01-06 02:49:50 +0000 |
| commit | 1d3ea0ef5b5919f3536675fb417c17f2d7f35d40 (patch) | |
| tree | 89e26b931b8617a38423ee4c71aaab6763d1e3c1 /short_types.h | |
| download | ffmpeg-libs-audio-transcode-1d3ea0ef5b5919f3536675fb417c17f2d7f35d40.tar.gz ffmpeg-libs-audio-transcode-1d3ea0ef5b5919f3536675fb417c17f2d7f35d40.tar.bz2 | |
Initial commit
An example of using the ffmpeg-libs C API to transcode audio into WAVE.
Signed-off-by: Andrew Clayton <andrew@digital-domain.net>
Diffstat (limited to 'short_types.h')
| -rw-r--r-- | short_types.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/short_types.h b/short_types.h new file mode 100644 index 0000000..d80fa21 --- /dev/null +++ b/short_types.h @@ -0,0 +1,33 @@ +/* + * CC0 (Public domain) + * see http://git.ozlabs.org/?p=ccan;a=blob;f=licenses/CC0;hb=HEAD + */ + +/* + * You can add the following to your .vim/after/syntax/c.vim to get + * syntax highlighting for these new types + * + * syn keyword cType u64 + * syn keyword cType s64 + * syn keyword cType u32 + * syn keyword cType s32 + * syn keyword cType u16 + * syn keyword cType s16 + * syn keyword cType u8 + * syn keyword cType s8 + */ + +#ifndef CCAN_SHORT_TYPES_H +#define CCAN_SHORT_TYPES_H +#include <stdint.h> + +typedef uint64_t u64; +typedef int64_t s64; +typedef uint32_t u32; +typedef int32_t s32; +typedef uint16_t u16; +typedef int16_t s16; +typedef uint8_t u8; +typedef int8_t s8; + +#endif /* CCAN_SHORT_TYPES_H */ |
