diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-03-18 15:18:56 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-04-10 20:02:00 +0400 |
commit | 270217908b8c65f6f00cc20bfac69d11ceaebd8a (patch) | |
tree | ff0123b8d3f7105f46ebf6cef3059206498d5840 /ffmpeg.c | |
parent | eebe0b02245c7aa9a0f14cc24c2e540ca758f5c9 (diff) |
ffmpeg: update error message, and make use of av_err2str() to simplify
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; } |