diff options
author | Wan-Teh Chang <wtc@google.com> | 2022-02-05 12:14:37 -0800 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2022-02-05 12:14:37 -0800 |
commit | e2cc35cb673a65ffa14bd36f62390aa221c54393 (patch) | |
tree | f5e50ea38ad1b2fcb28a8aed6845f10a213e7bb8 | |
parent | 0156be2ab38a60fc8834d91139c1a7aa1249840c (diff) | |
download | libvpx-e2cc35cb673a65ffa14bd36f62390aa221c54393.tar libvpx-e2cc35cb673a65ffa14bd36f62390aa221c54393.tar.gz libvpx-e2cc35cb673a65ffa14bd36f62390aa221c54393.tar.bz2 libvpx-e2cc35cb673a65ffa14bd36f62390aa221c54393.zip |
Update error messages in validate_img()
Change-Id: I4aa6d2e16e077d29e4e9eabfc7056fcfed6786d6
-rw-r--r-- | vp9/vp9_cx_iface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index 9f03ed172..76274437c 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -380,8 +380,8 @@ static vpx_codec_err_t validate_img(vpx_codec_alg_priv_t *ctx, case VPX_IMG_FMT_I440: if (ctx->cfg.g_profile != (unsigned int)PROFILE_1) { ERROR( - "Invalid image format. I422, I444, I440, NV12 images are " - "not supported in profile."); + "Invalid image format. I422, I444, I440 images are not supported " + "in profile."); } break; case VPX_IMG_FMT_I42216: @@ -396,8 +396,8 @@ static vpx_codec_err_t validate_img(vpx_codec_alg_priv_t *ctx, break; default: ERROR( - "Invalid image format. Only YV12, I420, I422, I444 images are " - "supported."); + "Invalid image format. Only YV12, I420, I422, I444, I440, NV12 " + "images are supported."); break; } |