mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-08 16:54:03 +02:00
lavc/hevc_ps: Fix an error message.
This commit is contained in:
parent
edb8af6e92
commit
08be65a075
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user