summaryrefslogtreecommitdiff
path: root/libavformat/rpl.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 /libavformat/rpl.c
parent1473afac5d11a0a90810b6cd8107d63640c9fd38 (diff)
Fix all -Wformat warnings raised by DJGPP
Diffstat (limited to 'libavformat/rpl.c')
-rw-r--r--libavformat/rpl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/rpl.c b/libavformat/rpl.c
index a794d3b485..d373600478 100644
--- a/libavformat/rpl.c
+++ b/libavformat/rpl.c
@@ -170,8 +170,8 @@ static int rpl_read_header(AVFormatContext *s)
vst->codecpar->codec_id = AV_CODEC_ID_ESCAPE130;
break;
default:
- avpriv_report_missing_feature(s, "Video format %i",
- vst->codecpar->codec_tag);
+ avpriv_report_missing_feature(s, "Video format %s",
+ av_fourcc2str(vst->codecpar->codec_tag));
vst->codecpar->codec_id = AV_CODEC_ID_NONE;
}
@@ -233,8 +233,8 @@ static int rpl_read_header(AVFormatContext *s)
rpl->frames_per_chunk = read_line_and_int(pb, &error); // video frames per chunk
if (rpl->frames_per_chunk > 1 && vst->codecpar->codec_tag != 124)
av_log(s, AV_LOG_WARNING,
- "Don't know how to split frames for video format %i. "
- "Video stream will be broken!\n", vst->codecpar->codec_tag);
+ "Don't know how to split frames for video format %s. "
+ "Video stream will be broken!\n", av_fourcc2str(vst->codecpar->codec_tag));
number_of_chunks = read_line_and_int(pb, &error); // number of chunks in the file
// The number in the header is actually the index of the last chunk.