diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2012-12-06 02:32:47 -0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-08 21:44:30 +0100 |
commit | f2c49da9ac486597a240cf62d23b8a85eb6fe6e9 (patch) | |
tree | 913d914185a39342485956f66a8a7654ad009812 /libavcodec/srtenc.c | |
parent | 129d73715084620f52dd507aeab29eb8e1da490e (diff) | |
download | ffmpeg-f2c49da9ac486597a240cf62d23b8a85eb6fe6e9.tar.gz |
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: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/srtenc.c')
0 files changed, 0 insertions, 0 deletions