summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-29 16:09:28 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 16:09:30 +0200
commit247d0339ca5ddab692aee49baf43cd1324466028 (patch)
tree3b4234e0fec94e610027c3fb6c3759ad956409df /libavfilter
parenta1b3ded902363a9790b9c2b1e18c2c02c035e9b7 (diff)
downloadffmpeg-streaming-247d0339ca5ddab692aee49baf43cd1324466028.zip
ffmpeg-streaming-247d0339ca5ddab692aee49baf43cd1324466028.tar.gz
lavfi/signature: fix -Wformat warnings raised by DJGPP
This was forgotten due to the non-gpl build used in 549045254.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/signature_lookup.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/libavfilter/signature_lookup.c b/libavfilter/signature_lookup.c
index 5bc2904..871a10c 100644
--- a/libavfilter/signature_lookup.c
+++ b/libavfilter/signature_lookup.c
@@ -551,20 +551,27 @@ static MatchingInfo lookup_signatures(AVFilterContext *ctx, SignatureContext *sc
if (find_next_coarsecandidate(sc, second->coarsesiglist, &cs, &cs2, 1) == 0)
return bestmatch; /* no candidate found */
do {
- av_log(ctx, AV_LOG_DEBUG, "Stage 1: got coarsesignature pair. indices of first frame: %d and %d\n", cs->first->index, cs2->first->index);
+ av_log(ctx, AV_LOG_DEBUG, "Stage 1: got coarsesignature pair. "
+ "indices of first frame: %"PRIu32" and %"PRIu32"\n",
+ cs->first->index, cs2->first->index);
/* stage 2: l1-distance and hough-transform */
av_log(ctx, AV_LOG_DEBUG, "Stage 2: calculate matching parameters\n");
infos = get_matching_parameters(ctx, sc, cs->first, cs2->first);
if (av_log_get_level() == AV_LOG_DEBUG) {
for (i = infos; i != NULL; i = i->next) {
- av_log(ctx, AV_LOG_DEBUG, "Stage 2: matching pair at %d and %d, ratio %f, offset %d\n", i->first->index, i->second->index, i->framerateratio, i->offset);
+ av_log(ctx, AV_LOG_DEBUG, "Stage 2: matching pair at %"PRIu32" and %"PRIu32", "
+ "ratio %f, offset %d\n", i->first->index, i->second->index,
+ i->framerateratio, i->offset);
}
}
/* stage 3: evaluation */
av_log(ctx, AV_LOG_DEBUG, "Stage 3: evaluate\n");
if (infos) {
bestmatch = evaluate_parameters(ctx, sc, infos, bestmatch, mode);
- av_log(ctx, AV_LOG_DEBUG, "Stage 3: best matching pair at %d and %d, ratio %f, offset %d, score %d, %d frames matching\n", bestmatch.first->index, bestmatch.second->index, bestmatch.framerateratio, bestmatch.offset, bestmatch.score, bestmatch.matchframes);
+ av_log(ctx, AV_LOG_DEBUG, "Stage 3: best matching pair at %"PRIu32" and %"PRIu32", "
+ "ratio %f, offset %d, score %d, %d frames matching\n",
+ bestmatch.first->index, bestmatch.second->index,
+ bestmatch.framerateratio, bestmatch.offset, bestmatch.score, bestmatch.matchframes);
sll_free(infos);
}
} while (find_next_coarsecandidate(sc, second->coarsesiglist, &cs, &cs2, 0) && !bestmatch.whole);
OpenPOWER on IntegriCloud