libavdevice/dshow.c: Correct CoGetMalloc check
authorFearThe1337 <git@fearthe1337.com>
Sat, 13 Feb 2016 15:55:02 +0000 (16:55 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 Feb 2016 21:57:26 +0000 (22:57 +0100)
commitc33ffc7b21b9531a971b5da1edcae0b308fe88aa
treee88906d872ae6b80b41c140f4c6cf09c5b66fbd7
parent4099e4a77d2d49e2308415d92766ad1511f62f9a
libavdevice/dshow.c: Correct CoGetMalloc check

Current if statement would always be false due to assigning the value of
S_OK which equals 0.

Signed-off-by: FearThe1337 <git@fearthe1337.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavdevice/dshow.c