tiffenc: initialize return value
authorVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 9 Nov 2014 07:48:43 +0000 (08:48 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 12 Jan 2015 23:16:40 +0000 (00:16 +0100)
commitb82170336f90d06c645d8252ddeccfc92c2f9ccb
treedf3ecc8015005cc110a6bed59747bd4454f54692
parent12e1a7013a53ad957c4ff11a3aebc0763024d24b
tiffenc: initialize return value

'ret' can only be used without initialization if s->height <= 0, which can
only happen if avctx->height <= 0, which is validated elsewhere. Doesn't hurt
to still initialize it though.

CC: libav-stable@libav.org
Bug-Id: CID 732296
(cherry picked from commit 0562887a984388fdc7a9b71c9374ff9c756fb4f1)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/tiffenc.c