From dedd3c89ae6a7983e5dcdeb5a37b268c08498a62 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Thu, 25 Dec 2014 21:28:27 +0100 Subject: [PATCH] avformat/cache: more informative error message Signed-off-by: Michael Niedermayer <michaelni@gmx.at> --- libavformat/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/cache.c b/libavformat/cache.c index 9d1b4b97e48..ac9a8d22791 100644 --- a/libavformat/cache.c +++ b/libavformat/cache.c @@ -201,7 +201,7 @@ static int64_t cache_seek(URLContext *h, int64_t pos, int whence) if(pos <= 0){ pos= ffurl_seek(c->inner, -1, SEEK_END); if (ffurl_seek(c->inner, c->inner_pos, SEEK_SET) < 0) - av_log(h, AV_LOG_ERROR, "Inner protocol failed to seekback\n"); + av_log(h, AV_LOG_ERROR, "Inner protocol failed to seekback end : %"PRId64"\n", pos); } if (pos > 0) c->is_true_eof = 1; -- GitLab