Re: [FFmpeg-devel] fix ftp hang up because not return AVRRROR_EOF

2018-06-13 Thread Jan Ekström
On Wed, Jun 13, 2018 at 1:27 PM, Gj X wrote: > fix: > diff --git a/libavformat/ftp.c b/libavformat/ftp.c > index 9aa7a45629..3474a0adbc 100644 > --- a/libavformat/ftp.c > +++ b/libavformat/ftp.c > @@ -777,7 +777,11 @@ static int ftp_read(URLContext *h, unsigned char *buf, > int size) > { > F

[FFmpeg-devel] fix ftp hang up because not return AVRRROR_EOF

2018-06-13 Thread Gj X
fix: diff --git a/libavformat/ftp.c b/libavformat/ftp.c index 9aa7a45629..3474a0adbc 100644 --- a/libavformat/ftp.c +++ b/libavformat/ftp.c @@ -777,7 +777,11 @@ static int ftp_read(URLContext *h, unsigned char *buf, int size) { FTPContext *s = h->priv_data; int read, err, retry_done = 0;