Commit f8e4d379 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hevc_ps: Also print depth in failure path of map_pixel_format()

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent f6870495
......@@ -774,8 +774,8 @@ static int map_pixel_format(AVCodecContext *avctx, HEVCSPS *sps)
av_log(avctx, AV_LOG_ERROR,
"4:2:0, 4:2:2, 4:4:4 supports are currently specified for 8, 10 and 12 bits.\n");
av_log(avctx, AV_LOG_ERROR,
"chroma_format_idc is %d",
sps->chroma_format_idc);
"chroma_format_idc is %d, depth is %d",
sps->chroma_format_idc, sps->bit_depth);
return AVERROR_INVALIDDATA;
}
......
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