[FFmpeg-cvslog] lavf/libquvi: fix error reporting.
Clément Bœsch
git at videolan.org
Mon Apr 15 01:20:47 CEST 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Apr 15 01:18:11 2013 +0200| [e66a10689bf26130391e549006d85b0331183230] | committer: Clément Bœsch
lavf/libquvi: fix error reporting.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e66a10689bf26130391e549006d85b0331183230
---
libavformat/libquvi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/libquvi.c b/libavformat/libquvi.c
index 42ad35e..fbae74c 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);
More information about the ffmpeg-cvslog
mailing list