aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/microdvddec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-27 21:31:46 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 14:49:29 +0200
commit549045254c4614d5d61b5c36e340171a6914d57c (patch)
tree0d2d80d1ca0c3de65f45da198e8ab09921da7fe4 /libavcodec/microdvddec.c
parent1473afac5d11a0a90810b6cd8107d63640c9fd38 (diff)
downloadffmpeg-549045254c4614d5d61b5c36e340171a6914d57c.tar.gz
Fix all -Wformat warnings raised by DJGPP
Diffstat (limited to 'libavcodec/microdvddec.c')
-rw-r--r--libavcodec/microdvddec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/microdvddec.c b/libavcodec/microdvddec.c
index e8d271931f..4a34267793 100644
--- a/libavcodec/microdvddec.c
+++ b/libavcodec/microdvddec.c
@@ -214,7 +214,7 @@ static void microdvd_open_tags(AVBPrint *new_line, struct microdvd_tag *tags)
break;
case 'c':
- av_bprintf(new_line, "{\\c&H%06X&}", tags[i].data1);
+ av_bprintf(new_line, "{\\c&H%06"PRIX32"&}", tags[i].data1);
break;
case 'f':
@@ -223,7 +223,7 @@ static void microdvd_open_tags(AVBPrint *new_line, struct microdvd_tag *tags)
break;
case 's':
- av_bprintf(new_line, "{\\fs%d}", tags[i].data1);
+ av_bprintf(new_line, "{\\fs%"PRId32"}", tags[i].data1);
break;
case 'p':
@@ -232,7 +232,7 @@ static void microdvd_open_tags(AVBPrint *new_line, struct microdvd_tag *tags)
break;
case 'o':
- av_bprintf(new_line, "{\\pos(%d,%d)}",
+ av_bprintf(new_line, "{\\pos(%"PRId32",%"PRId32")}",
tags[i].data1, tags[i].data2);
break;
}