huffyuv: do not abort on unknown pix_fmt; instead, return an error.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 1 Mar 2012 17:41:22 +0000 (09:41 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Apr 2012 16:33:27 +0000 (18:33 +0200)
commitd680295d0c3662793292338d0fd01b044601f338
treea4cebd3d8c11d9df142aad31c691c1dd4706b86a
parentced190c96c1fa99ca395ad02290f9784f07b07ee
huffyuv: do not abort on unknown pix_fmt; instead, return an error.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 63c9de6469005974288f4e4d89fc79a590e38c06)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/huffyuv.c