avformat/crypto: Avoid cast, use proper printf specifier

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-15 15:57:00 +01:00
parent 7b48cc61be
commit 6e63295d41
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ static int64_t crypto_seek(URLContext *h, int64_t pos, int whence)
newpos = ffurl_seek( c->hd, pos, AVSEEK_SIZE );
if (newpos < 0) {
av_log(h, AV_LOG_ERROR,
"Crypto: seek_end - can't get file size (pos=%lld)\r\n", (long long int)pos);
"Crypto: seek_end - can't get file size (pos=%"PRId64")\r\n", pos);
return newpos;
}
pos = newpos - pos;