summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-01-31 11:37:29 +0100
committerAnton Khirnov <anton@khirnov.net>2016-07-25 13:56:58 +0200
commit2010a2164aa21a243eee3890f33d5fb9217bee2a (patch)
tree1af5cbd4a3a8ac88d289fa0178578bd2ae6a878f
parent2cbfd0f0b27f1244f688f302ff9f17b6457738d1 (diff)
cfhd: Fix avpriv_report_missing_feature() usage
-rw-r--r--libavcodec/cfhd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 595c77cea3..415258c3b3 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -342,7 +342,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
av_log(avctx, AV_LOG_DEBUG, "Sample type? %"PRIu16"\n", data);
} else if (tag == 10) {
if (data != 0) {
- avpriv_report_missing_feature(avctx, "Transform type of %"PRIu16" is unsupported\n", data);
+ avpriv_report_missing_feature(avctx, "Transform type %"PRIu16, data);
ret = AVERROR_PATCHWELCOME;
break;
}
@@ -352,7 +352,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
bytestream2_skipu(&gb, data * 4);
} else if (tag == 23) {
av_log(avctx, AV_LOG_DEBUG, "Skip frame\n");
- avpriv_report_missing_feature(avctx, "Skip frame not supported\n");
+ avpriv_report_missing_feature(avctx, "Skip frame");
ret = AVERROR_PATCHWELCOME;
break;
} else if (tag == 2) {
@@ -424,7 +424,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
else if (data == 4)
s->coded_format = AV_PIX_FMT_GBRAP12;
else {
- avpriv_report_missing_feature(avctx, "Sample format of %"PRIu16" is unsupported\n", data);
+ avpriv_report_missing_feature(avctx, "Sample format %"PRIu16, data);
ret = AVERROR_PATCHWELCOME;
break;
}