aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorSteve L'Homme <slhomme@divxcorp.com>2006-11-01 22:39:58 +0000
committerDiego Biurrun <diego@biurrun.de>2006-11-01 22:39:58 +0000
commit949b1a13bf4434ade235fdcd783c5fe0d27c0c3b (patch)
tree78e083fd51f0f9cbf88b86cc2422616608c17c35 /libavutil
parent523fc7c17ddd0b4e31b9fb590483ac4c34e0b5f8 (diff)
downloadffmpeg-949b1a13bf4434ade235fdcd783c5fe0d27c0c3b.tar.gz
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/mathematics.c2
-rw-r--r--libavutil/md5.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/libavutil/mathematics.c b/libavutil/mathematics.c
index c43c64ba21..4be027d9da 100644
--- a/libavutil/mathematics.c
+++ b/libavutil/mathematics.c
@@ -131,7 +131,7 @@ main(){
if((double)a * (double)b / (double)c > (1LL<<63))
continue;
- if(d!=e) printf("%Ld*%Ld/%Ld= %Ld=%Ld\n", a, b, c, d, e);
+ if(d!=e) printf("%"PRId64"*%"PRId64"/%"PRId64"= %"PRId64"=%"PRId64"\n", a, b, c, d, e);
}
}
}
diff --git a/libavutil/md5.c b/libavutil/md5.c
index 3f116d36cc..d33ad14830 100644
--- a/libavutil/md5.c
+++ b/libavutil/md5.c
@@ -176,11 +176,11 @@ main(){
uint8_t in[1000];
for(i=0; i<1000; i++) in[i]= i*i;
- av_md5_sum( (uint8_t*)&md5val, in, 1000); printf("%lld\n", md5val);
- av_md5_sum( (uint8_t*)&md5val, in, 63); printf("%lld\n", md5val);
- av_md5_sum( (uint8_t*)&md5val, in, 64); printf("%lld\n", md5val);
- av_md5_sum( (uint8_t*)&md5val, in, 65); printf("%lld\n", md5val);
+ av_md5_sum( (uint8_t*)&md5val, in, 1000); printf("%"PRId64"\n", md5val);
+ av_md5_sum( (uint8_t*)&md5val, in, 63); printf("%"PRId64"\n", md5val);
+ av_md5_sum( (uint8_t*)&md5val, in, 64); printf("%"PRId64"\n", md5val);
+ av_md5_sum( (uint8_t*)&md5val, in, 65); printf("%"PRId64"\n", md5val);
for(i=0; i<1000; i++) in[i]= i % 127;
- av_md5_sum( (uint8_t*)&md5val, in, 999); printf("%lld\n", md5val);
+ av_md5_sum( (uint8_t*)&md5val, in, 999); printf("%"PRId64"\n", md5val);
}
#endif