diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-25 21:28:27 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-25 22:07:32 +0100 |
commit | dedd3c89ae6a7983e5dcdeb5a37b268c08498a62 (patch) | |
tree | de775831375127c63b5a6d34bcf2c48dc50da0ec | |
parent | 681559d3ffebcba3c525b7c7f94a58cc36847ee1 (diff) | |
download | ffmpeg-dedd3c89ae6a7983e5dcdeb5a37b268c08498a62.tar.gz |
avformat/cache: more informative error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/cache.c b/libavformat/cache.c index 9d1b4b97e4..ac9a8d2279 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; |