summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-03-06 21:21:44 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-03-06 21:22:47 +0100
commit719276b8609e595094820cf2d5ac525b43b9b82e (patch)
tree4b334b6b8db44f54560662355354d412b0c13eca /libavcodec
parent1109ed7973c7fd1e7001898adc4976590d862122 (diff)
lavc/cfhd: Sanitize avpriv_report_missing_feature() usage.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/cfhd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 98f16d320d..d82e432830 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -333,7 +333,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 of %"PRIu16, data);
ret = AVERROR_PATCHWELCOME;
break;
}
@@ -343,7 +343,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\n");
ret = AVERROR_PATCHWELCOME;
break;
} else if (tag == 2) {
@@ -415,7 +415,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 of %"PRIu16, data);
ret = AVERROR_PATCHWELCOME;
break;
}