Commit 08be65a0 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavc/hevc_ps: Fix an error message.

parent edb8af6e
......@@ -803,9 +803,8 @@ static int map_pixel_format(AVCodecContext *avctx, HEVCSPS *sps)
break;
default:
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, depth is %d",
"The following bit-depths are currently specified: 8, 9, 10 and 12 bits, "
"chroma_format_idc is %d, depth is %d\n",
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