aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-13 20:01:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-13 20:01:49 +0100
commit9aeaf629038c572073e836277cd1fa981465dd6c (patch)
tree307fec57f5fbe05f65a3406a8e5c331d0f9f2323 /libavformat
parent35f707abe1bd3b80b1951010539285d4c3a14dba (diff)
downloadffmpeg-9aeaf629038c572073e836277cd1fa981465dd6c.tar.gz
Fix all GNU %Ld
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avienc.c2
-rw-r--r--libavformat/movenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 091d4cbb1e..d27c2f58ed 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -525,7 +525,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt)
AVPacket empty_packet;
if(pkt->dts - avist->packet_count > 60000){
- av_log(s, AV_LOG_ERROR, "Too large number of skiped frames %Ld\n", pkt->dts - avist->packet_count);
+ av_log(s, AV_LOG_ERROR, "Too large number of skiped frames %"PRId64"\n", pkt->dts - avist->packet_count);
return AVERROR(EINVAL);
}
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 344e24183f..442a2717cf 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2586,7 +2586,7 @@ static int update_first_fragment(AVFormatContext *s)
if(mov->reserved_moov_size){
int64_t size= mov->reserved_moov_size - (avio_tell(pb) - mov->reserved_moov_pos);
if(size < 8){
- av_log(s, AV_LOG_ERROR, "reserved_moov_size is too small, needed %Ld additional\n", 8-size);
+ av_log(s, AV_LOG_ERROR, "reserved_moov_size is too small, needed %"PRId64" additional\n", 8-size);
return -1;
}
avio_wb32(pb, size);