avcodec/exr: fix crash caused by merge
authorPaul B Mahol <onemda@gmail.com>
Sat, 6 Jun 2015 15:56:06 +0000 (15:56 +0000)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 19 Jun 2015 09:10:13 +0000 (11:10 +0200)
commitf621ae6a6dd8690ba68eb25dd282727d2171d21e
tree63baa4eaa8c378f48fdb0c9b1bb8a660a8b769eb
parent21d0ae829f72ec327aff31b0cb1af1261b56596c
avcodec/exr: fix crash caused by merge

Various header informations need to be reset when decoding next frame.
Regression since: 95582b5c

Fixes ticket #4597.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit a03b69478b7f1c0c31e53acb0cf392917c0f967a)
libavcodec/exr.c