summaryrefslogtreecommitdiff
path: root/tests/checkasm
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2016-01-21 15:14:10 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2016-01-21 15:18:25 +0000
commita849ebb54e187a70eabc69cbd1b1a342e6587ec3 (patch)
tree21e7fc4be1762b2d7225f4c75214338478cffe06 /tests/checkasm
parentb65efbc0f4195421c15d2a6c228d331eec5b31c3 (diff)
dirac_parser: Improve parsing and silence pointless warnings
The parser scans for "BBCD" to appear in the bitstream which indicate a parse info header and once that happens, checks if the parse offsets are sane. Since random BBCD strings might appear in the bitstream the parser will emit a pointless warning if that happens. This commit improves parsing by checking for a valid parse code as well as keeping the original checks for valid parse offsets. The warnings were removed as they serve no real purpose. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'tests/checkasm')
0 files changed, 0 insertions, 0 deletions