]> granicus.if.org Git - libjpeg-turbo/commit
When tjDecodeYUV() is used with a "fresh" decompressor instance (one that hasn't...
authorDRC <dcommander@users.sourceforge.net>
Mon, 10 Mar 2014 09:34:04 +0000 (09:34 +0000)
committerDRC <dcommander@users.sourceforge.net>
Mon, 10 Mar 2014 09:34:04 +0000 (09:34 +0000)
commitc90144950ffc9e58f942f1be7fc18e7820a14eb7
tree0262aa455d011ad135001c56c1e54eb2d6a9d75a
parent20e158dcb7b8242f905f9feb2a91460ec25fc0e8
When tjDecodeYUV() is used with a "fresh" decompressor instance (one that hasn't been previously used to decompress a JPEG image), then it needs comps_in_scan, data_precision, and the quantization tables to be defined.  This patch also extends TJUnitTest to check for this error.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1143 632fc199-4ca6-4c93-a231-07263d6284db
tjunittest.c
turbojpeg.c