aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-07-13 00:48:49 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-07-13 21:59:53 +0200
commit32c8d89c036b0e75ece74aea638df587099def0b (patch)
treec79c59a2503d4bc3f3b540cd1ca1b9bde782c23f
parent8e373fe048812a25b238ea60a7052b8c07639a42 (diff)
downloadffmpeg-32c8d89c036b0e75ece74aea638df587099def0b.tar.gz
hevc: Print the non-supported chroma_format_idc
And drop the spurious newline. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r--libavcodec/hevc_ps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 13fb31c957..a5a2ace8c6 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -719,7 +719,8 @@ int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id,
sps->chroma_format_idc = get_ue_golomb_long(gb);
if (sps->chroma_format_idc != 1) {
- avpriv_report_missing_feature(avctx, "chroma_format_idc != 1\n");
+ avpriv_report_missing_feature(avctx, "chroma_format_idc %d",
+ sps->chroma_format_idc);
ret = AVERROR_PATCHWELCOME;
goto err;
}