ftp: fix interrupt callback misuse
authorLukasz Marek <lukasz.m.luki@gmail.com>
Tue, 16 Jul 2013 21:48:16 +0000 (23:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Jul 2013 23:54:24 +0000 (01:54 +0200)
commitfcab45f39bda46a5f216aa8da5fd24386d307c7a
treecc8d339990850db29cd7db6b41d94c32fcbc7ba0
parentbc44d06c3de8b15e76a2eb6587eeec9682e48dfa
ftp: fix interrupt callback misuse

FTP protocol used interrupt callback to simulate nonblock
operation which is a misuse of this callback.

This commit make FTP protocol fully blocking and removes
invalid usage of interrutp callback

Also adds support for multiline responses delimited with dashes
(cherry picked from commit 247e658784ead984f96021acb9c95052ba599f26)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/ftp.c