diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-02-03 10:27:11 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-02-13 14:58:50 +0100 |
commit | b68dd8a1614b1230ab8ee9f6a4d01aa64a8d9ea3 (patch) | |
tree | 0bcc58cf1cdc8a3862340ca1cb6deebcfa85e74b /libavformat | |
parent | db9dc5154d1a586aa95362e7ed4334df321e5a72 (diff) | |
download | ffmpeg-b68dd8a1614b1230ab8ee9f6a4d01aa64a8d9ea3.tar.gz |
lavf/concatdec: allow probing.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/concatdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index b99ec5c15c..f1fb169259 100644 --- a/libavformat/concatdec.c +++ b/libavformat/concatdec.c @@ -40,7 +40,8 @@ typedef struct { static int concat_probe(AVProbeData *probe) { - return 0; + return memcmp(probe->buf, "ffconcat version 1.0", 20) ? + 0 : AVPROBE_SCORE_MAX; } static char *get_keyword(uint8_t **cursor) |