Commit 32c8d89c authored by Luca Barbato's avatar Luca Barbato

hevc: Print the non-supported chroma_format_idc

And drop the spurious newline.
Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 8e373fe0
...@@ -719,7 +719,8 @@ int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id, ...@@ -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); sps->chroma_format_idc = get_ue_golomb_long(gb);
if (sps->chroma_format_idc != 1) { 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; ret = AVERROR_PATCHWELCOME;
goto err; goto err;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment