Re: [FFmpeg-devel] [PATCH] avformat: add msf demuxer
Paul B Mahol 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 __
[FFmpeg-devel] [PATCH] avformat: add msf demuxer
Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/msf.c| 88 3 files changed, 90 insertions(+) create mode 100644 libavformat/msf.c diff --git a/libavformat/Makefile b/libavforma