Browse code

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

Michael Niedermayer authored on 2004/11/15 07:30:44
Showing 2 changed files
... ...
@@ -2019,7 +2019,7 @@ static void opt_format(const char *arg)
2019 2019
     /* compatibility stuff for pgmyuv */
2020 2020
     if (!strcmp(arg, "pgmyuv")) {
2021 2021
         pgmyuv_compatibility_hack=1;
2022
-        opt_image_format(arg);
2022
+//        opt_image_format(arg);
2023 2023
         arg = "image2";
2024 2024
     }
2025 2025
 
... ...
@@ -113,17 +113,21 @@ void av_register_all(void)
113 113
 
114 114
 #ifdef CONFIG_ENCODERS
115 115
     /* image formats */
116
+#if 0
116 117
     av_register_image_format(&pnm_image_format);
117 118
     av_register_image_format(&pbm_image_format);
118 119
     av_register_image_format(&pgm_image_format);
119 120
     av_register_image_format(&ppm_image_format);
120 121
     av_register_image_format(&pam_image_format);
121 122
     av_register_image_format(&pgmyuv_image_format);
123
+#endif
122 124
     av_register_image_format(&yuv_image_format);
125
+#if 0
123 126
 #ifdef CONFIG_ZLIB
124 127
     av_register_image_format(&png_image_format);
125 128
 #endif
126 129
     av_register_image_format(&jpeg_image_format);
130
+#endif
127 131
     av_register_image_format(&gif_image_format);
128 132
     av_register_image_format(&sgi_image_format);
129 133
 #endif //CONFIG_ENCODERS