MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / read_atom

Function read_atom

libavformat/r3d.c:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37} Atom;
38
39static int read_atom(AVFormatContext *s, Atom *atom)
40{
41 atom->offset = url_ftell(s->pb);
42 atom->size = get_be32(s->pb);
43 if (atom->size < 8)
44 return -1;
45 atom->tag = get_le32(s->pb);
46 dprintf(s, "atom %d %.4s offset %#llx\n",
47 atom->size, (char*)&atom->tag, atom->offset);
48 return atom->size;
49}
50
51static int r3d_read_red1(AVFormatContext *s)
52{

Callers 2

r3d_read_headerFunction · 0.85
r3d_read_packetFunction · 0.85

Calls 3

url_ftellFunction · 0.85
get_be32Function · 0.85
get_le32Function · 0.70

Tested by

no test coverage detected