mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
8e373fe048
commit
32c8d89c03
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue