Skip to content

Commit

Permalink
image_writer: use proper specifier for int64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
N-R-K authored and sfan5 committed Jul 20, 2023
1 parent 15252e1 commit fd03d00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion video/image_writer.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>

#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
Expand Down Expand Up @@ -502,7 +503,7 @@ static bool write_avif(struct image_writer_ctx *ctx, mp_image_t *image,
MP_ERR(ctx, "Could not write trailer\n");
goto free_data;
}
MP_DBG(ctx, "write_avif(): avio_size() = %ld\n", avio_size(avioctx));
MP_DBG(ctx, "write_avif(): avio_size() = %"PRIi64"\n", avio_size(avioctx));

success = true;

Expand Down

0 comments on commit fd03d00

Please sign in to comment.