30 int vps = 0, sps = 0, pps = 0, irap = 0;
33 for (i = 0; i < p->
buf_size - 1; i++) {
34 code = (code << 8) + p->
buf[i];
35 if ((code & 0xffffff00) == 0x100) {
37 int type = (code & 0x7E) >> 1;
59 if (vps && sps && pps && irap)
#define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)
int buf_size
Size of buf except extra allocated bytes.
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
This structure contains the data a format has to probe a file.