Lukasz Marek
ca671beead
lavf/libssh: set freed pointers to NULL
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Lukasz Marek
b7adc5b5a6
lavf/libssh: call ssh_userauth_none before ssh_userauth_list
...
According to doc, ssh_userauth_none must be called before ssh_userauth_list.
It solves login issue for new versions of libssh.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Lukasz Marek
0025f13005
lavf/libssh: fix seek to nagative position
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Matt Oliver
1ff42685fe
avformat/libssh: Fix libssh defaulting to shared linkage.
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Reviewed-by: Lukasz M <lukasz.m.luki@gmail.com>
See: [FFmpeg-devel] Fix libssh static linkage on Windows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Lukasz Marek
e0d124a920
lavf/libssh: fix seek with whence==SEEK_CUR
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
b271aac536
lavf/libssh: rename context variable from s into libssh
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
522814455c
lavf/libssh: add av_cold attributes
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
7fb5f55e1e
lavf/libssh: factorize create_sftp_session function
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
77fadab1be
lavf/libssh: factorize create_ssh_session function
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
bf5d73b04d
lavf/libssh: factorize file_stat function
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
8d3f14e11b
lavf/libssh: factorize open_file function
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
7e8f304846
lavf/libssh: add private_key option
...
Allows to specify private key to use during authorization.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
8ba77dfbc2
lavf/libssh: improve authentication
...
- Add authentication using keys
- Provide better message on fail
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
247a8fa70f
lavf/libssh: fix file mode
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Lukasz Marek
5b153f8164
lavf: add SFTP protocol via libssh
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago