aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opt.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-12-12 01:56:46 +0000
committerMåns Rullgård <mans@mansr.com>2005-12-12 01:56:46 +0000
commit4733abcbf30fb662785d0c4ad3a0601e749dc57d (patch)
tree5b8bbe0c89f35eb6fedc535909dae1ffc65bc67f /libavcodec/opt.c
parentfccfc4753386d3aacb067f5e4117ea4d266acf72 (diff)
downloadffmpeg-4733abcbf30fb662785d0c4ad3a0601e749dc57d.tar.gz
use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.c')
-rw-r--r--libavcodec/opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c
index 9a3cd80eeb..e4fc2625a9 100644
--- a/libavcodec/opt.c
+++ b/libavcodec/opt.c
@@ -181,7 +181,7 @@ const char *av_get_string(void *obj, const char *name, AVOption **o_out, char *b
switch(o->type){
case FF_OPT_TYPE_FLAGS: snprintf(buf, buf_len, "0x%08X",*(int *)dst);break;
case FF_OPT_TYPE_INT: snprintf(buf, buf_len, "%d" , *(int *)dst);break;
- case FF_OPT_TYPE_INT64: snprintf(buf, buf_len, "%Ld", *(int64_t*)dst);break;
+ case FF_OPT_TYPE_INT64: snprintf(buf, buf_len, "%"PRId64, *(int64_t*)dst);break;
case FF_OPT_TYPE_FLOAT: snprintf(buf, buf_len, "%f" , *(float *)dst);break;
case FF_OPT_TYPE_DOUBLE: snprintf(buf, buf_len, "%f" , *(double *)dst);break;
case FF_OPT_TYPE_RATIONAL: snprintf(buf, buf_len, "%d/%d", ((AVRational*)dst)->num, ((AVRational*)dst)->den);break;