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