diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-23 20:50:37 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-28 02:40:49 +0200 |
commit | 33d1c7193180e50f6e264c5d5648fb8310e2569c (patch) | |
tree | 3aac8038fbf469e671defe48d4c9dcca8b2df351 /libavformat/format.c | |
parent | 886c65784d6431761c4f801d0e250a0ef1535e93 (diff) | |
download | ffmpeg-33d1c7193180e50f6e264c5d5648fb8310e2569c.tar.gz |
avformat/format: Also search for image2-codecs for image2pipe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/format.c')
-rw-r--r-- | libavformat/format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/format.c b/libavformat/format.c index 5f8155be59..4b1f3c2986 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -99,7 +99,7 @@ enum AVCodecID av_guess_codec(const AVOutputFormat *fmt, const char *short_name, if (type == AVMEDIA_TYPE_VIDEO) { 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")) { codec_id = ff_guess_image2_codec(filename); } |