tiffenc: initialize return value
authorVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 9 Nov 2014 07:48:43 +0000 (08:48 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 24 Nov 2014 01:30:15 +0000 (01:30 +0000)
commit0562887a984388fdc7a9b71c9374ff9c756fb4f1
treec188b277440e7db43ac510a2c0f2221852b5d633
parent299d8ab104fb350254eb2e6d9ecdce892a2a55b1
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
libavcodec/tiffenc.c