avformat/cache: more informative error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
681559d3ff
commit
dedd3c89ae
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user