aboutsummaryrefslogtreecommitdiffstats
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 21:46:45 +0100
commitb92ef485c712fe8af2c32ddd28e4470abcb7e5ff (patch)
tree9b6d6f341ec271cce44ae8a60097b7f4c0ae2e34
parent6289b6c81165234ef0cf4d331f05fc9c250f4fe4 (diff)
downloadffmpeg-b92ef485c712fe8af2c32ddd28e4470abcb7e5ff.tar.gz
Fix all GNU %Ld
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 9aeaf629038c572073e836277cd1fa981465dd6c) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/ratecontrol.c2
-rw-r--r--libavformat/avienc.c2
-rw-r--r--libavformat/movenc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index 5919ea2b23..dda8b2616a 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -708,7 +708,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run)
dts_pic= s->last_picture_ptr;
//if(dts_pic)
-// av_log(NULL, AV_LOG_ERROR, "%Ld %Ld %Ld %d\n", s->current_picture_ptr->pts, s->user_specified_pts, dts_pic->pts, picture_number);
+// av_log(NULL, AV_LOG_ERROR, "%"PRId64" %"PRId64" %"PRId64" %d\n", s->current_picture_ptr->pts, s->user_specified_pts, dts_pic->pts, picture_number);
if (!dts_pic || dts_pic->f.pts == AV_NOPTS_VALUE)
wanted_bits= (uint64_t)(s->bit_rate*(double)picture_number/fps);
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 181965f720..420e5f8403 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2562,7 +2562,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);