summaryrefslogtreecommitdiff
path: root/util.h
blob: 02aee25036667ca558859a28b32667b5eef4a66f (plain)
1
2
3
4
5
6
7
8
9
10
/* See LICENSE file for copyright and license details. */
#include <stdint.h>
#include <stdio.h>

extern char *argv0;

#define LEN(x) (sizeof (x) / sizeof *(x))

void read_ff_header(uint32_t *width, uint32_t *height);
void write_ff_header(uint32_t width, uint32_t height);