avcodec/exif: do not follow 0 offsets
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 20 Apr 2014 02:13:43 +0000 (04:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 20 Apr 2014 15:02:16 +0000 (17:02 +0200)
commite70b9b32d5ba84fe3c9a7fe2fae9c9c12b666fd6
tree4cfb9f4694a05bdd1d5b6a983ceb428de5eb96f0
parenta94de50ba02f5c260ca7c571b43fb595c8f951b6
avcodec/exif: do not follow 0 offsets

Fixes exif decoding failure of 1295328_300.jpg

Reviewed-by; Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/exif.c