You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/aeaenc: Fix printf-specifier
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -91,7 +91,7 @@ static int aea_write_trailer(struct AVFormatContext *s)
|
|||||||
avio_seek(pb, 260, SEEK_SET);
|
avio_seek(pb, 260, SEEK_SET);
|
||||||
total_blocks = st->nb_frames * st->codecpar->ch_layout.nb_channels;
|
total_blocks = st->nb_frames * st->codecpar->ch_layout.nb_channels;
|
||||||
if (total_blocks > UINT32_MAX) {
|
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);
|
" Block count in the header will be truncated.\n", total_blocks);
|
||||||
total_blocks = UINT32_MAX;
|
total_blocks = UINT32_MAX;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user