OSDN Git Service

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>
Wed, 1 Aug 2012 08:31:02 +0000 (10:31 +0200)
commit69078e8190a9a202168a6e380e4405fd9a3afa46
treedb99f5c498374fc69177fe69b891a8faec29f205
parent8b2835e883936d28388b72b92d3d492d0c32c57e
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>
(cherry picked from commit d4c88950dafefead1a775c0ae6636917e23339fd)
test/decode/tinyjpeg.c