Go to the documentation of this file.
   28     const uint8_t *
b = 
p->buf;
 
   29     int i, marker, marker_size;
 
   30     int frames = 0, invalid = 0;
 
   32     for (
i = 0; 
i < 
p->buf_size - 5; 
i++) {
 
   35             if (marker_size + i < p->buf_size - 4) {
 
   36                 marker = 
AV_RB8(
b+4+marker_size);
 
   45     if (invalid*4 + 1 < 
frames) {
 
   46         if (invalid == 0 && 
frames > 2)
 
  
if it could not because there are no more frames
This structure contains the data a format has to probe a file.
static int mjpeg2000_probe(const AVProbeData *p)
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_RB32
#define i(width, name, range_min, range_max)
#define FF_DEF_RAWVIDEO_DEMUXER2(shortname, longname, probe, ext, id, flag)
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_WB24 unsigned int_TMPL AV_WB16 unsigned int_TMPL AV_RB8
IDirect3DDxgiInterfaceAccess _COM_Outptr_ void ** p
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_WB24 unsigned int_TMPL AV_RB16