hevc: Print the non-supported chroma_format_idc

And drop the spurious newline.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
Luca Barbato 2015-07-13 00:48:49 +02:00
parent 8e373fe048
commit 32c8d89c03
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}