diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2013-06-02 02:22:46 +0200 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki@gmail.com> | 2013-06-08 03:54:55 +0200 |
commit | 43eda88200a7a60cba8948feb516f0785c193806 (patch) | |
tree | e4e47a83f0ea1bc73c19a0b991d9cb645425a197 /libavformat | |
parent | 23a76b71deead18fb75fc1f5af7281940778afb5 (diff) | |
download | ffmpeg-43eda88200a7a60cba8948feb516f0785c193806.tar.gz |
ftp: fix flush control connection input
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ftp.c b/libavformat/ftp.c index e818b8b757..f730c6d00c 100644 --- a/libavformat/ftp.c +++ b/libavformat/ftp.c @@ -138,7 +138,7 @@ static int ftp_flush_control_input(FTPContext *s) s->conn_control_block_flag = 1; do { err = ftp_get_line(s, buf, sizeof(buf)); - } while (err > 0); + } while (!err); s->conn_control_block_flag = ori_block_flag; |