Browse Source

ftp: fix flush control connection input

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
tags/n2.0
Lukasz Marek 12 years ago
parent
commit
43eda88200
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/ftp.c

+ 1
- 1
libavformat/ftp.c View File

@@ -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