Skip to content
Snippets Groups Projects
Commit dedd3c89 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avformat/cache: more informative error message

parent 681559d3
No related branches found
No related tags found
No related merge requests found
...@@ -201,7 +201,7 @@ static int64_t cache_seek(URLContext *h, int64_t pos, int whence) ...@@ -201,7 +201,7 @@ static int64_t cache_seek(URLContext *h, int64_t pos, int whence)
if(pos <= 0){ if(pos <= 0){
pos= ffurl_seek(c->inner, -1, SEEK_END); pos= ffurl_seek(c->inner, -1, SEEK_END);
if (ffurl_seek(c->inner, c->inner_pos, SEEK_SET) < 0) 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) if (pos > 0)
c->is_true_eof = 1; c->is_true_eof = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment