ftp: fix flush control connection input

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
pull/25/head
Lukasz Marek 12 years ago
parent 23a76b71de
commit 43eda88200
  1. 2
      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;

Loading…
Cancel
Save