Commit cb93e18d authored by michael's avatar michael

try to guess the codec for imag2pipe too


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3674 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3359a8dd
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment