Skip to content
Snippets Groups Projects
Commit f2c49da9 authored by Ramiro Polla's avatar Ramiro Polla Committed by Michael Niedermayer
Browse files

dshow: fix return code when opening device


Successfully opening a device altered the ret variable, making the function
not cleanup properly and return an incorrect value for errors that happened
afterwards.

Reviewed-by: default avatarStefano Sabatini <stefasab@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 129d7371
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment