Return error for invalid st/lt sps parameters

When num_short_term_ref_pic_sets or num_long_term_ref_pics_sps in
sps is out of range, error is returned.

Bug: 77599438
Test: poc before/after
Change-Id: I652d27849438c3ea2d42fc6e9abb8aeb25ebdc22
(cherry picked from commit b93923e2883a2d1a4eb46290c3b15a84da808d66)
2 files changed
tree: 449c8662eb5d88f1404d1a2b9e69b7f74e2a5f2e
  1. Android.bp
  2. MODULE_LICENSE_APACHE2
  3. NOTICE
  4. OWNERS
  5. common/
  6. decoder/
  7. test/