Commit e66a1068 authored by Clément Bœsch's avatar Clément Bœsch

lavf/libquvi: fix error reporting.

parent da1bb21c
......@@ -97,8 +97,8 @@ static int libquvi_read_header(AVFormatContext *s)
return 0;
quvi_fail:
av_log(s, AV_LOG_ERROR, "%s\n", quvi_strerror(&q, rc));
ret = rc;
av_log(s, AV_LOG_ERROR, "%s\n", quvi_strerror(q, rc));
ret = AVERROR_EXTERNAL;
end:
quvi_parse_close(&m);
......
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