Add range checking for decoded coefficients.
commit9751aa1264b9cff20b729bbe825c6ff25ff47a12
authorYaowu Xu <yaowu@google.com>
Tue, 7 Oct 2014 18:22:09 +0000 (7 11:22 -0700)
committerYaowu Xu <yaowu@google.com>
Tue, 7 Oct 2014 18:30:13 +0000 (7 11:30 -0700)
treea1c6f74f53a2ced43c2b018412fbbf2a8d7e88a2
parenta75551585b0fb1ea8705e7e5c53433cfffabbab6
Add range checking for decoded coefficients.

The coefficient range checking is enabled when configured with
--enable-debug --enable-coefficient-range-checking
for vpxdec to detect ill-formed input stream. This addresses the
problem raised by issue #792.

Change-Id: I3f9ea541de4dc742dd64389d6c5f543fb1c4f052
vp9/decoder/vp9_detokenize.c