Fix #816: Fix building with --enable-debug-flags
[geeqie.git] / src / image_load_ffmpegthumbnailer.c
index fb3c2bb..8e9f361 100644 (file)
@@ -42,6 +42,7 @@ struct _ImageLoaderFT {
 
 };
 
+#if HAVE_FFMPEGTHUMBNAILER_RGB
 static void image_loader_ft_log_cb(ThumbnailerLogLevel log_level, const char* msg)
 {
        if (log_level == ThumbnailerLogLevelError)
@@ -49,6 +50,7 @@ static void image_loader_ft_log_cb(ThumbnailerLogLevel log_level, const char* ms
        else
                DEBUG_1("ImageLoaderFFmpegthumbnailer: %s",msg);
 }
+#endif
 
 void image_loader_ft_destroy_image_data(guchar *pixels, gpointer data)
 {