[FFmpeg-devel] [PATCH] avformat: add msf demuxer

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Oct 18 14:24:37 CEST 2015


Paul B Mahol <onemda <at> gmail.com> writes:

> +static int msf_probe(AVProbeData *p)
> +{
> +    if (memcmp(p->buf, "MSF", 3))
> +        return 0;
> +
> +    return AVPROBE_SCORE_MAX;

Should be less than EXTENSION / 2 but you 
can check codec and channels.

Carl Eugen



More information about the ffmpeg-devel mailing list