X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fty.c;h=02ab59aa2e1523136331b0a9425cb2421650519f;hb=672e704e4a409f5174f253f7a463653dd7e9cb7c;hp=1ce72dd0f9855d8b768731fbec5c0b90341d4139;hpb=51f977c2c4b39d80ed39107a21b1647abce1acca;p=ffmpeg diff --git a/libavformat/ty.c b/libavformat/ty.c index 1ce72dd0f98..02ab59aa2e1 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 */