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

2015-10-23 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/xvag.c | 104 +++ 3 files changed, 106 insertions(+) create mode 100644 libavformat/xvag.c diff --git a/libavformat/Makefile b/libavf

Re: [FFmpeg-devel] [PATCH] avformat: add xvag demuxer

2015-10-23 Thread Nicolas George
Le duodi 2 brumaire, an CCXXIV, Paul B Mahol a écrit : > +if (memcmp(p->buf, "XVAG", 4)) > +return 0; > +return AVPROBE_SCORE_MAX; MAX seems a bit high for just four ASCII characters at the beginning. It would match a text file starting with "XVAG file format specification" for exa

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

2015-10-23 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/xvag.c | 92 3 files changed, 94 insertions(+) create mode 100644 libavformat/xvag.c diff --git a/libavformat/Makefile b/libavform