aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ty.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-08 17:01:44 -0300
committerJames Almer <jamrial@gmail.com>2017-11-08 17:04:42 -0300
commit349e9a878767fe755de5fe256fd55a7de22cb937 (patch)
treea1de9217bda5fc141a82790de3f49f6db0563657 /libavformat/ty.c
parent372a4dda3356f4e9954c22950fe0463b9aa6b6b2 (diff)
downloadffmpeg-349e9a878767fe755de5fe256fd55a7de22cb937.tar.gz
avformat/ty: fix format specifiers in debug log messages
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/ty.c')
-rw-r--r--libavformat/ty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ty.c b/libavformat/ty.c
index 1ce72dd0f9..02ab59aa2e 100644
--- a/libavformat/ty.c
+++ b/libavformat/ty.c
@@ -538,14 +538,14 @@ static int check_sync_pes(AVFormatContext *s, AVPacket *pkt,
if (offset < 0 || offset + ty->pes_length > rec_len) {
/* entire PES header not present */
- ff_dlog(s, "PES header at %d not complete in record. storing.\n", offset);
+ ff_dlog(s, "PES header at %"PRId32" not complete in record. storing.\n", offset);
/* save the partial pes header */
if (offset < 0) {
/* no header found, fake some 00's (this works, believe me) */
memset(ty->pes_buffer, 0, 4);
ty->pes_buf_cnt = 4;
if (rec_len > 4)
- ff_dlog(s, "PES header not found in record of %d bytes!\n", rec_len);
+ ff_dlog(s, "PES header not found in record of %"PRId32" bytes!\n", rec_len);
return -1;
}
/* copy the partial pes header we found */