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, 4 Mar 2012 11:26:06 +0000 (12:26 +0100)
commita63f3f714c014b3fcaffd45943bc089167b3fe61
tree65a6be7195405037d37e3c4fee7dcca5c6876811
parent1dd1ee00d54ba2a9f5d8ae2e82a22891300b6807
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