History

avformat/crypto: Avoid cast, use proper printf specifier

Andreas Rheinhardt committed 2 years ago

Commit 6e632951 parent 7b48cc61 file · +1 −1Browse files

Unified · Split

libavformat/crypto.c+1−1
@@ -254,7 +254,7 @@ static int64_t crypto_seek(URLContext *h, int64_t pos, int whence) · 253 unmodified lines
254 newpos = ffurl_seek( c->hd, pos, AVSEEK_SIZE );254 newpos = ffurl_seek( c->hd, pos, AVSEEK_SIZE );
255 if (newpos < 0) {255 if (newpos < 0) {
256 av_log(h, AV_LOG_ERROR,256 av_log(h, AV_LOG_ERROR,
257 "Crypto: seek_end - can't get file size (pos=%lld)\r\n", (long long int)pos);257 "Crypto: seek_end - can't get file size (pos=%"PRId64")\r\n", pos);
258 return newpos;258 return newpos;
259 }259 }
260 pos = newpos - pos;260 pos = newpos - pos;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t