tests: fix JPEG decoding test to match the latest API.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 31 Jul 2012 09:04:24 +0000 (11:04 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 31 Jul 2012 09:08:19 +0000 (11:08 +0200)
commitd4c88950dafefead1a775c0ae6636917e23339fd
tree61bb666fedff9b6e536b56294d8a00a584fbcd53
parentf8aa29ff28dcbe8134661c3c3c5ca30a8eadcad8
tests: fix JPEG decoding test to match the latest API.

Fix bug in parsing Huffman DC table and also sync the code to match
the latest API change. In particular, pad the Huffman table with
zero to suit 4-byte boundaries.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
test/decode/tinyjpeg.c