[FFmpeg-cvslog] avformat/cache: more informative error message

Michael Niedermayer git at videolan.org
Thu Dec 25 22:11:05 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Dec 25 21:28:27 2014 +0100| [dedd3c89ae6a7983e5dcdeb5a37b268c08498a62] | committer: Michael Niedermayer

avformat/cache: more informative error message

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dedd3c89ae6a7983e5dcdeb5a37b268c08498a62
---

 libavformat/cache.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/cache.c b/libavformat/cache.c
index 9d1b4b9..ac9a8d2 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;



More information about the ffmpeg-cvslog mailing list