From 926f50d94a0d06ba7d6199691872820b8cfa3116 Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 16 Oct 2010 21:52:56 +0000 Subject: [PATCH] Update opencv codec to more recent cvSaveImage prototype. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4693 92316355-f0b4-4df1-b90c-862c8a59935f --- pipi/codec/opencv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipi/codec/opencv.c b/pipi/codec/opencv.c index a896c64..11e3dc4 100644 --- a/pipi/codec/opencv.c +++ b/pipi/codec/opencv.c @@ -92,7 +92,7 @@ int pipi_save_opencv(pipi_image_t *img, const char *name) } pipi_set_colorspace(img, img->codec_format); - cvSaveImage(name, img->codec_priv); + cvSaveImage(name, img->codec_priv, NULL); return 0; }