OSDN Git Service

decoder/h264: don't assert on invalid parameter
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 5 Aug 2016 05:25:58 +0000 (13:25 +0800)
committerSean V Kelley <seanvk@posteo.de>
Fri, 5 Aug 2016 17:33:19 +0000 (10:33 -0700)
commitfb7d6f56ad3000734390279a55b5c7f54ed9e3a3
tree6b170283ed52b16bc364321429ce1c76e7c25405
parente32ac14feacff2d1b2a082ad54c0a91e9a8735a5
decoder/h264: don't assert on invalid parameter

Remove redundant checking on input parameters as well.

This avoids assertion failure in https://bugs.freedesktop.org/show_bug.cgi?id=94007,
but the upper library should check why are the invalid paramters passed to libva.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
src/i965_decoder_utils.c