Commit 182f9edb authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fixed corrupted QRCode result

parent 0be5c584
......@@ -5704,7 +5704,8 @@ static void video_filter_callback(void *userdata, struct _MSFilter *f, unsigned
LinphoneCore *lc = (LinphoneCore *)userdata;
if (linphone_core_cbs_get_qrcode_found(linphone_core_get_current_callbacks(lc)) != NULL) {
char* result = ms_strdup((const char*)arg);
MSQrCodeReaderEventData *data = static_cast<MSQrCodeReaderEventData *>(arg);
char* result = ms_strdup((const char*)data->data);
linphone_core_notify_qrcode_found(lc, result);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment