[Ffmpeg-devel] [PATCH] BMP encoder

Diego Biurrun diego
Mon Oct 30 17:36:18 CET 2006


On Mon, Oct 30, 2006 at 05:25:08PM +0100, Michel Bardiaux wrote:
> Diego Biurrun wrote:
> >On Mon, Oct 30, 2006 at 04:54:15PM +0100, Michel Bardiaux wrote:
> >>Diego Biurrun wrote:
> >>>On Mon, Oct 30, 2006 at 04:05:39PM +0100, Michel Bardiaux wrote:
> >>>
> >>>>--- libavcodec/allcodecs.c	(revision 6838)
> >>>>+++ libavcodec/allcodecs.c	(working copy)
> >>>>@@ -134,6 +134,7 @@
> >>>>#ifdef CONFIG_PNG_ENCODER
> >>>>    register_avcodec(&png_encoder);
> >>>>#endif //CONFIG_PNG_ENCODER
> >>>>+    register_avcodec(&bmp_encoder);
> >>>>#endif
> >>>>#ifdef CONFIG_PPM_ENCODER
> >>>>    register_avcodec(&ppm_encoder);
> >>>This should be surrounded by proper #ifdef.  Also, put this next to the
> >>>BMP decoder.
> >>Done.
> >
> >The lines are still not next to the BMP_DECODER at line 588.
> 
> That's not in the patch because in svn there is already at line 588:
> 
> #ifdef CONFIG_BMP_DECODER
>     register_avcodec(&bmp_decoder);
> #endif

Let me try to be more explicit.  Now there is

  #ifdef CONFIG_BMP_DECODER
      register_avcodec(&bmp_decoder);
  #endif

after your patch there should be

  #ifdef CONFIG_BMP_DECODER
      register_avcodec(&bmp_decoder);
  #endif
  #ifdef CONFIG_BMP_ENCODER
      register_avcodec(&bmp_encoder);
  #endif

Clear now?

Diego




More information about the ffmpeg-devel mailing list