From f75f4194d1ea4e5a0176b13452345eff87164416 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 8 Oct 2012 19:08:03 +0200 Subject: Restructure av_log_missing_feature message Some invocations include a verb in the log message, others do not. Yet av_log_missing_feature expects callers to provide a verb. Change the function to include a verb instead and update the callers accordingly. The result is a more natural function API and correct English in the function invocations. --- libavcodec/cavsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/cavsdec.c') diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index e55e4f6e07..b1dd3bd27b 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -1065,7 +1065,7 @@ static int decode_seq_header(AVSContext *h) { width = get_bits(&s->gb, 14); height = get_bits(&s->gb, 14); if ((s->width || s->height) && (s->width != width || s->height != height)) { - av_log_missing_feature(s, "Width/height changing in CAVS is", 0); + av_log_missing_feature(s, "Width/height changing in CAVS", 0); return AVERROR_PATCHWELCOME; } s->width = width; -- cgit v1.2.3