cscd: use negative error values to indicate decode_init() failures.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 29 Feb 2012 21:55:09 +0000 (13:55 -0800)
committerReinhard Tartler <siretart@tauware.de>
Mon, 5 Mar 2012 13:48:35 +0000 (14:48 +0100)
commitb5331b979bfb31ec1715618b2712429764b6a9b5
tree181d456d140f963756dc34d01e30f53390ce4b9e
parent11f3173e1bae135eb18a10b0060a5dd4b9fdcc74
cscd: use negative error values to indicate decode_init() failures.

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

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