]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/dshow.c
swscale: Deprecate vector functions which are unused outside swscale
[ffmpeg] / libavdevice / dshow.c
index b280bc314d9e2c50a0c6cf92a75ff5e2afeb65d3..f56c165539f499993602ce89f2407038e9ea2878 100644 (file)
@@ -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)