Pārlūkot izejas kodu

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 pirms 16 gadiem
vecāks
revīzija
de6742dd3f
3 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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;


Notiek ielāde…
Atcelt
Saglabāt