[FFmpeg-devel] [PATCH] libavdevice/dshow: fix = typo
Michael Niedermayer
michaelni at gmx.at
Tue May 19 03:06:48 CEST 2015
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavdevice/dshow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 6224978..c8665a1 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)
--
1.7.9.5
More information about the ffmpeg-devel
mailing list