32 int src_fmt, last_src_fmt=-1;
36 code = (code<<8) + p->
buf[i];
37 if ((code & 0xfffffc0000) == 0x800000) {
39 if( src_fmt != last_src_fmt
40 && last_src_fmt>0 && last_src_fmt<6
44 if((code&0x300)==0x200 && src_fmt){
49 last_src_fmt= src_fmt;
50 }
else if((code & 0xffff800000) == 0x800000) {
51 int gn= (code>>(23-5)) & 0x1F;
58 if(valid_psc > 2*invalid_psc + 2*res_change + 3){
60 }
else if(valid_psc > 2*invalid_psc)
#define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)
if((e=av_dict_get(options,"", NULL, AV_DICT_IGNORE_SUFFIX)))
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
int buf_size
Size of buf except extra allocated bytes.
This structure contains the data a format has to probe a file.