avformat/libssh: check the user provided a password before trying to use it
authorJames Almer <jamrial@gmail.com>
Sun, 11 Jun 2017 17:17:30 +0000 (14:17 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 11 Jan 2018 13:42:34 +0000 (10:42 -0300)
commita1433196b8d5954136cfbae1438bce601b3c0178
treec8154b18f34065bec13ee78a22183f3a1ca0b1cf
parent7f0359f05e32d435435f36a986885b57a2af11f0
avformat/libssh: check the user provided a password before trying to use it

Fixes ticket #6413

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 8ddb6820bd52df6ed616abc3d8be200b126aa8c1)
libavformat/libssh.c