summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-15 15:57:00 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-18 01:53:32 +0100
commit6e63295d4135c759afeda506f9ede182c0263aee (patch)
tree4f65202adcd5dde92aa98fda18a4de7931b125b8
parent7b48cc61bed4c20ad69ee39cfe58af42e222d0c3 (diff)
avformat/crypto: Avoid cast, use proper printf specifier
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavformat/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/crypto.c b/libavformat/crypto.c
index 75b00020bc..4393fb6399 100644
--- a/libavformat/crypto.c
+++ b/libavformat/crypto.c
@@ -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;