Home
last modified time | relevance | path

Searched refs:LXF_IDENT_LENGTH (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Dlxfdec.c32 #define LXF_IDENT_LENGTH 8 macro
57 if (!memcmp(p->buf, LXF_IDENT, LXF_IDENT_LENGTH)) in lxf_probe()
88 uint8_t buf[LXF_IDENT_LENGTH]; in lxf_sync()
91 if ((ret = avio_read(s->pb, buf, LXF_IDENT_LENGTH)) != LXF_IDENT_LENGTH) in lxf_sync()
94 while (memcmp(buf, LXF_IDENT, LXF_IDENT_LENGTH)) { in lxf_sync()
98 memmove(buf, &buf[1], LXF_IDENT_LENGTH-1); in lxf_sync()
99 buf[LXF_IDENT_LENGTH-1] = avio_r8(s->pb); in lxf_sync()
102 memcpy(header, LXF_IDENT, LXF_IDENT_LENGTH); in lxf_sync()
120 const uint8_t *p = header + LXF_IDENT_LENGTH; in get_packet_header()
126 ret = avio_read(pb, header + LXF_IDENT_LENGTH, 8); in get_packet_header()