Itseez/opencv — pull request #344 by taka-no-me (2013-01-28 11:54:44+00:00)
Title: Improve error reporting of JPEG image encoder

OpenCV issue #2604

After this patch applied an attempt to encode empty images produces exception
saying "Raw image encoder error: Empty JPEG image (DNL not supported)"