Commit b09a092e authored by Nicolas George's avatar Nicolas George

lavf/libsmbclient: return AVERROR_EOF for EOF.

Fix trac ticket #7387.
parent 93b35a05
......@@ -166,7 +166,7 @@ static int libsmbc_read(URLContext *h, unsigned char *buf, int size)
return ret;
}
return bytes_read;
return bytes_read ? bytes_read : AVERROR_EOF;
}
static int libsmbc_write(URLContext *h, const unsigned char *buf, int size)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment