From e66a10689bf26130391e549006d85b0331183230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Mon, 15 Apr 2013 01:18:11 +0200 Subject: [PATCH] lavf/libquvi: fix error reporting. --- libavformat/libquvi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/libquvi.c b/libavformat/libquvi.c index 42ad35e759..fbae74c6c4 100644 --- a/libavformat/libquvi.c +++ b/libavformat/libquvi.c @@ -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);