aboutsummaryrefslogtreecommitdiff
path: root/libavformat/libquvi.c
diff options
context:
space:
mode:
authorClément Bœsch2013-04-15 01:18:11 +0200
committerClément Bœsch2013-04-15 01:18:11 +0200
commite66a10689bf26130391e549006d85b0331183230 (patch)
tree19796b810547149dfd58df1a7026a042a9fa0984 /libavformat/libquvi.c
parentda1bb21c13024d5c2d28432a7b1a6bb72e38ef58 (diff)
lavf/libquvi: fix error reporting.
Diffstat (limited to 'libavformat/libquvi.c')
-rw-r--r--libavformat/libquvi.c4
1 files 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);