Sfoglia il codice sorgente

Fix uninitialised values in most codec image writers.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2841 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam 16 anni fa
parent
commit
de6742dd3f
3 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +1
    -0
      pipi/codec/imlib.c
  2. +1
    -0
      pipi/codec/opencv.c
  3. +1
    -0
      pipi/codec/sdl.c

+ 1
- 0
pipi/codec/imlib.c Vedi File

@@ -86,6 +86,7 @@ int pipi_save_imlib2(pipi_image_t *img, const char *name)

img->codec_priv = (void *)priv;
img->codec_format = PIPI_PIXELS_RGBA_C;
img->codec_free = pipi_free_imlib2;

img->wrap = 0;
img->u8 = 1;


+ 1
- 0
pipi/codec/opencv.c Vedi File

@@ -86,6 +86,7 @@ int pipi_save_opencv(pipi_image_t *img, const char *name)

img->codec_priv = (void *)priv;
img->codec_format = PIPI_PIXELS_BGR_C;
img->codec_free = pipi_free_opencv;

img->wrap = 0;
img->u8 = 1;


+ 1
- 0
pipi/codec/sdl.c Vedi File

@@ -90,6 +90,7 @@ int pipi_save_sdl(pipi_image_t *img, const char *name)

img->codec_priv = (void *)priv;
img->codec_format = PIPI_PIXELS_RGBA_C;
img->codec_free = pipi_free_sdl;

img->wrap = 0;
img->u8 = 1;


Caricamento…
Annulla
Salva