From 0ba340ee445bd2f2a09453a2c5e860a7db007167 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 16 Feb 2017 10:50:12 +0100 Subject: [PATCH] DShow: small fix --- src/video_capture/DirectShowGrabber.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_capture/DirectShowGrabber.cpp b/src/video_capture/DirectShowGrabber.cpp index 93e768640..269c41e99 100644 --- a/src/video_capture/DirectShowGrabber.cpp +++ b/src/video_capture/DirectShowGrabber.cpp @@ -480,7 +480,7 @@ static bool process_args(struct vidcap_dshow_state *s, char *init_fmt) { char *strtok_context; int i = 1; - if (strchr(init_fmt, "=") == NULL) { // positional arguments + if (strchr(init_fmt, '=') == NULL) { // positional arguments while ((token = strtok_s(init_fmt, ":", &strtok_context)) != NULL) { init_fmt = NULL; switch (i) {