[FFmpeg-cvslog] ffmpeg: update error message, and make use of av_err2str() to simplify
Stefano Sabatini
git at videolan.org
Wed Apr 10 18:03:04 CEST 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Mon Mar 18 12:18:56 2013 +0100| [270217908b8c65f6f00cc20bfac69d11ceaebd8a] | committer: Stefano Sabatini
ffmpeg: update error message, and make use of av_err2str() to simplify
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=270217908b8c65f6f00cc20bfac69d11ceaebd8a
---
ffmpeg.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 71cdd2a..d39375c 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1044,10 +1044,8 @@ static int reap_filters(void)
AV_BUFFERSINK_FLAG_NO_REQUEST);
if (ret < 0) {
if (ret != AVERROR(EAGAIN) && ret != AVERROR_EOF) {
- char buf[256];
- av_strerror(ret, buf, sizeof(buf));
av_log(NULL, AV_LOG_WARNING,
- "Error in av_buffersink_get_buffer_ref(): %s\n", buf);
+ "Error in av_buffersink_get_frame_flags(): %s\n", av_err2str(ret));
}
break;
}
More information about the ffmpeg-cvslog
mailing list