tiff: dont leave geotag_count in an invalid state on errors.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Feb 2013 19:24:22 +0000 (20:24 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Feb 2013 19:24:53 +0000 (20:24 +0100)
commit0e3dacb11eacf6a944691bb4a12f4dd56b6d7ce6
tree7c71bc943e3a57e6fa978f2e1dbf09de7ff8e3ee
parentf28043d0a34aaf4ac7cf25bd0dddd868811c0ab2
tiff: dont leave geotag_count in an invalid state on errors.

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/tiff.c