1)&&和&运算优先级
函数static int init_input(AVFormatContext *s, const char *filename,
AVDictionary **options)
if ((s->iformat && s->iformat->flags & AVFMT_NOFILE) ||
(!s->iformat && (s->iformat = av_probe_input_format2(&pd, 0, &score))))
return score;
说明:&优先级高于&&,所以可以看作如下
if ((s->iformat && (s->iformat->flags & AVFMT_NOFILE)) ||
(!s->iformat && (s->iformat = av_probe_input_format2(&pd, 0, &score))))
return score;