ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Thu Dec 25 
21:28:27 2014 +0100| [dedd3c89ae6a7983e5dcdeb5a37b268c08498a62] | committer: 
Michael Niedermayer

avformat/cache: more informative error message

Signed-off-by: Michael Niedermayer <[email protected]>

> 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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to