summaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc_ps.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-16 18:01:34 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-08 17:54:34 +0100
commit67deba8a416d818f3d95aef0aa916589090396e2 (patch)
treef8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavcodec/hevc_ps.c
parent59d2b00d201935c16408a2917957d89a170fe58f (diff)
downloadffmpeg-streaming-67deba8a416d818f3d95aef0aa916589090396e2.zip
ffmpeg-streaming-67deba8a416d818f3d95aef0aa916589090396e2.tar.gz
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavcodec/hevc_ps.c')
-rw-r--r--libavcodec/hevc_ps.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 6a8cfeb..c28e86b 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -657,13 +657,12 @@ static int map_pixel_format(AVCodecContext *avctx, HEVCSPS *sps)
case 9: sps->pix_fmt = AV_PIX_FMT_YUV420P9; break;
case 10: sps->pix_fmt = AV_PIX_FMT_YUV420P10; break;
default:
- av_log(avctx, AV_LOG_ERROR, "Unsupported bit depth: %d\n",
- sps->bit_depth);
+ avpriv_report_missing_feature(avctx, "Bit depth %d",
+ sps->bit_depth);
return AVERROR_PATCHWELCOME;
}
} else {
- av_log(avctx, AV_LOG_ERROR,
- "non-4:2:0 support is currently unspecified.\n");
+ avpriv_report_missing_feature(avctx, "Non-4:2:0 support");
return AVERROR_PATCHWELCOME;
}
OpenPOWER on IntegriCloud