diff options
-rw-r--r-- | libavdevice/dshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index b280bc314d..f56c165539 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -240,7 +240,7 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum, int i; r = CoGetMalloc(1, &co_malloc); - if (r = S_OK) + if (r != S_OK) goto fail1; r = CreateBindCtx(0, &bind_ctx); if (r != S_OK) |