36 if (p->
buf[i] == 0x0f) {
40 for(j=0; ptr + 6 <
end; j++) {
48 }
else if (type >= 0x10 && type <= 0x14) {
49 histogram[type - 0x10] ++;
54 for (k=0; k < 4; k++) {
55 min =
FFMIN(min, histogram[k]);
57 if (min && j > max_score)
static av_cold int end(AVCodecContext *avctx)
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.
#define FF_DEF_RAWSUB_DEMUXER(shortname, longname, probe, ext, id, flag)