projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4f715
)
try to guess the codec for imag2pipe too
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 12 Nov 2004 22:51:52 +0000
(22:51 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 12 Nov 2004 22:51:52 +0000
(22:51 +0000)
Originally committed as revision 3674 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
1669e74
..
9c750d0
100644
(file)
--- 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)