Message ID | AS8P250MB07440B4C1A683BAE9773E7E78F282@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 6e63295d4135c759afeda506f9ede182c0263aee |
Headers | show |
Series | [FFmpeg-devel] avformat/crypto: Avoid cast, use proper printf specifier | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavformat/crypto.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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; Will apply tomorrow unless there are objections. - Andreas
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;
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavformat/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)