diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 54895a39b..6146bdb3c 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -3129,7 +3129,7 @@ const char *linphone_core_get_video_device(const LinphoneCore *lc){ } int linphone_core_set_static_picture(LinphoneCore *lc, const char *path) { - struct _VideoStream *vs = NULL; + VideoStream *vs = NULL; /* Select the video stream from the call in the first place */ if (lc && lc->videostream) { @@ -3154,7 +3154,7 @@ int linphone_core_set_static_picture(LinphoneCore *lc, const char *path) { that the image will be used next time it has to be read */ ms_static_image_set_default_image(path); - return 1; + return 0; } /**