Commit 1b1b974a authored by Steven Liu's avatar Steven Liu

avformat/http: change error message from numeric code to string

Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent 1498e394
......@@ -1638,7 +1638,7 @@ static int http_shutdown(URLContext *h, int flags)
read_ret = ffurl_read(s->hd, buf, sizeof(buf));
s->hd->flags &= ~AVIO_FLAG_NONBLOCK;
if (read_ret < 0 && read_ret != AVERROR(EAGAIN)) {
av_log(h, AV_LOG_ERROR, "URL read error: %d\n", read_ret);
av_log(h, AV_LOG_ERROR, "URL read error: %s\n", av_err2str(read_ret));
ret = read_ret;
}
}
......
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