32 ||
AV_RB16(p->buf + 48) != 0xffd8)
39 int ret,
size,
w,
h, unk1, unk2;
55 av_log(
s,
AV_LOG_DEBUG,
"Ingenient packet: size=%d, width=%d, height=%d, unk1=%d unk2=%d\n",
61 pkt->stream_index = 0;
66 .p.name =
"ingenient",
69 .p.extensions =
"cgi",
unsigned int avio_rl16(AVIOContext *s)
int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward.
unsigned int avio_rl32(AVIOContext *s)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
static int read_header(FFV1Context *f, RangeCoder *c)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
static int ingenient_probe(const AVProbeData *p)
static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define MKTAG(a, b, c, d)
This structure stores compressed data.
This structure contains the data a format has to probe a file.