Mercurial > libavformat.hg
changeset 586:d31051b85c3d libavformat
try to guess the codec for imag2pipe too
author | michael |
---|---|
date | Fri, 12 Nov 2004 22:51:52 +0000 |
parents | 10ad229f9d00 |
children | fe24632a577b |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Fri Nov 12 22:49:55 2004 +0000 +++ b/utils.c Fri Nov 12 22:51:52 2004 +0000 @@ -138,7 +138,7 @@ 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)