diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-12-16 20:01:34 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-08 19:54:34 +0300 |
commit | 67deba8a416d818f3d95aef0aa916589090396e2 (patch) | |
tree | f8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavcodec/hevc_ps.c | |
parent | 59d2b00d201935c16408a2917957d89a170fe58f (diff) |
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavcodec/hevc_ps.c')
-rw-r--r-- | libavcodec/hevc_ps.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index 6a8cfebaf7..c28e86b34a 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; } |