You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/format: Also search for image2-codecs for image2pipe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -99,7 +99,7 @@ enum AVCodecID av_guess_codec(const AVOutputFormat *fmt, const char *short_name,
|
|||||||
if (type == AVMEDIA_TYPE_VIDEO) {
|
if (type == AVMEDIA_TYPE_VIDEO) {
|
||||||
enum AVCodecID codec_id = AV_CODEC_ID_NONE;
|
enum AVCodecID codec_id = AV_CODEC_ID_NONE;
|
||||||
|
|
||||||
#if CONFIG_IMAGE2_MUXER
|
#if CONFIG_IMAGE2_MUXER || CONFIG_IMAGE2PIPE_MUXER
|
||||||
if (!strcmp(fmt->name, "image2") || !strcmp(fmt->name, "image2pipe")) {
|
if (!strcmp(fmt->name, "image2") || !strcmp(fmt->name, "image2pipe")) {
|
||||||
codec_id = ff_guess_image2_codec(filename);
|
codec_id = ff_guess_image2_codec(filename);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user