Skip to content

Commit c2b4c98

Browse files
committed
validate_img: add error msg for validate_hbd_input failure
Change-Id: Ie9534502ead1d14decaaafb17da9d6fa032d6519
1 parent 8eb87f4 commit c2b4c98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vp9/vp9_cx_iface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ static vpx_codec_err_t validate_img(vpx_codec_alg_priv_t *ctx,
470470
for (unsigned int i = 0; i < ph; ++i) {
471471
for (unsigned int j = 0; j < pw; ++j) {
472472
if (src[j] >= max_val) {
473-
return VPX_CODEC_INVALID_PARAM;
473+
ERROR("Input pixel value out of range for encoder bit depth");
474474
}
475475
}
476476
src += stride;

0 commit comments

Comments
 (0)