comparison utils.c @ 21:3d2d2f8725f9 libavformat

jpeg detection fix - fixed imagepipe output
author bellard
date Sat, 11 Jan 2003 05:33:35 +0000
parents 3d52de18ecc3
children 65433f1b2549
comparison
equal deleted inserted replaced
20:3d52de18ecc3 21:3d2d2f8725f9
84 { 84 {
85 AVOutputFormat *fmt, *fmt_found; 85 AVOutputFormat *fmt, *fmt_found;
86 int score_max, score; 86 int score_max, score;
87 87
88 /* specific test for image sequences */ 88 /* specific test for image sequences */
89 if (!short_name && filename && filename_number_test(filename) >= 0) { 89 if (!short_name && filename &&
90 filename_number_test(filename) >= 0 &&
91 guess_image_format(filename)) {
90 return guess_format("image", NULL, NULL); 92 return guess_format("image", NULL, NULL);
91 } 93 }
92 94
93 /* find the proper file type */ 95 /* find the proper file type */
94 fmt_found = NULL; 96 fmt_found = NULL;