mirror of https://github.com/FFmpeg/FFmpeg.git
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: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>pull/8/head
parent
129d737150
commit
f2c49da9ac
1 changed files with 8 additions and 10 deletions
Loading…
Reference in new issue