projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eebe0b0
)
ffmpeg: update error message, and make use of av_err2str() to simplify
author
Stefano Sabatini
<stefasab@gmail.com>
Mon, 18 Mar 2013 11:18:56 +0000
(12:18 +0100)
committer
Stefano Sabatini
<stefasab@gmail.com>
Wed, 10 Apr 2013 16:02:00 +0000
(18:02 +0200)
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
71cdd2a
..
d39375c
100644
(file)
--- 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;
}