summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-11-14 22:30:44 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-14 22:30:44 +0000
commit9286699a67ed0c2ece48b9bc676690a484a70e7c (patch)
tree86fc2304ae6da65918f40ead9960a04319851901
parentb43ff7e2b0e54ded60bd73325217153b68b86f65 (diff)
disable redundant image formats, otherwise we wont get any bugreports about -f image2
Originally committed as revision 3683 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c2
-rw-r--r--libavformat/allformats.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7769bbfece..b9397dbdf6 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2019,7 +2019,7 @@ static void opt_format(const char *arg)
/* compatibility stuff for pgmyuv */
if (!strcmp(arg, "pgmyuv")) {
pgmyuv_compatibility_hack=1;
- opt_image_format(arg);
+// opt_image_format(arg);
arg = "image2";
}
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index d1fc72a949..c91c55cfa3 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -113,17 +113,21 @@ void av_register_all(void)
#ifdef CONFIG_ENCODERS
/* image formats */
+#if 0
av_register_image_format(&pnm_image_format);
av_register_image_format(&pbm_image_format);
av_register_image_format(&pgm_image_format);
av_register_image_format(&ppm_image_format);
av_register_image_format(&pam_image_format);
av_register_image_format(&pgmyuv_image_format);
+#endif
av_register_image_format(&yuv_image_format);
+#if 0
#ifdef CONFIG_ZLIB
av_register_image_format(&png_image_format);
#endif
av_register_image_format(&jpeg_image_format);
+#endif
av_register_image_format(&gif_image_format);
av_register_image_format(&sgi_image_format);
#endif //CONFIG_ENCODERS