lavf/libquvi: fix error reporting.

This commit is contained in:
Clément Bœsch 2013-04-15 01:18:11 +02:00
parent da1bb21c13
commit e66a10689b

View File

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