diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-11-12 22:51:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-11-12 22:51:52 +0000 |
commit | ae214ac39ed0225dbc0a3b6042dfe9b38a152b15 (patch) | |
tree | 7f53ec038717459490cc3cebaaf256d069146bb3 /libavformat/utils.c | |
parent | 4d4f7158eee5c515f624123a43073dbef2326001 (diff) | |
download | ffmpeg-ae214ac39ed0225dbc0a3b6042dfe9b38a152b15.tar.gz |
try to guess the codec for imag2pipe too
Originally committed as revision 3674 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 1669e74c3d..9c750d0f27 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -138,7 +138,7 @@ enum CodecID av_guess_codec(AVOutputFormat *fmt, const char *short_name, if(type == CODEC_TYPE_VIDEO){ enum CodecID codec_id= CODEC_ID_NONE; - if(!strcmp(fmt->name, "image2")){ + if(!strcmp(fmt->name, "image2") || !strcmp(fmt->name, "image2pipe")){ codec_id= av_guess_image2_codec(filename); } if(codec_id == CODEC_ID_NONE) |