further allow jpeg_pipe demuxer
This commit is contained in:
parent
884115e0f7
commit
06b5a6d917
24
src/util.c
24
src/util.c
|
@ -2,19 +2,21 @@
|
||||||
|
|
||||||
static int valid_demuxer(AVInputFormat *fmt)
|
static int valid_demuxer(AVInputFormat *fmt)
|
||||||
{
|
{
|
||||||
// apng: animated PNG
|
// apng: animated PNG
|
||||||
// png_pipe: static PNG
|
// png_pipe: static PNG
|
||||||
// image2: JPEG
|
// image2: JPEG
|
||||||
// gif: GIF
|
// jpeg_pipe: JPEG
|
||||||
// svg_pipe: SVG (recommended not to use this currently)
|
// gif: GIF
|
||||||
// matroska: MKV/WebM
|
// svg_pipe: SVG (recommended not to use this currently)
|
||||||
|
// matroska: MKV/WebM
|
||||||
|
|
||||||
return
|
return
|
||||||
fmt == av_find_input_format("apng") ||
|
fmt == av_find_input_format("apng") ||
|
||||||
fmt == av_find_input_format("png_pipe") ||
|
fmt == av_find_input_format("png_pipe") ||
|
||||||
fmt == av_find_input_format("image2") ||
|
fmt == av_find_input_format("image2") ||
|
||||||
fmt == av_find_input_format("gif") ||
|
fmt == av_find_input_format("jpeg_pipe") ||
|
||||||
fmt == av_find_input_format("svg_pipe") ||
|
fmt == av_find_input_format("gif") ||
|
||||||
|
fmt == av_find_input_format("svg_pipe") ||
|
||||||
fmt == av_find_input_format("matroska");
|
fmt == av_find_input_format("matroska");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue