aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-15 15:52:54 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-18 01:53:26 +0100
commit7b48cc61bed4c20ad69ee39cfe58af42e222d0c3 (patch)
treed90630e5836b860ddd65c215817972cf7408d056
parent2a0194bafa62aee9217e6dc375243f96acec7088 (diff)
downloadffmpeg-7b48cc61bed4c20ad69ee39cfe58af42e222d0c3.tar.gz
avformat/aeaenc: Fix printf-specifier
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavformat/aeaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aeaenc.c b/libavformat/aeaenc.c
index 65d018c844..495e98c6a2 100644
--- a/libavformat/aeaenc.c
+++ b/libavformat/aeaenc.c
@@ -91,7 +91,7 @@ static int aea_write_trailer(struct AVFormatContext *s)
avio_seek(pb, 260, SEEK_SET);
total_blocks = st->nb_frames * st->codecpar->ch_layout.nb_channels;
if (total_blocks > UINT32_MAX) {
- av_log(s, AV_LOG_WARNING, "Too many frames in the file to properly encode the header (%ld)."
+ av_log(s, AV_LOG_WARNING, "Too many frames in the file to properly encode the header (%"PRId64")."
" Block count in the header will be truncated.\n", total_blocks);
total_blocks = UINT32_MAX;
}