diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-12-25 21:30:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-03-24 10:38:51 +0100 |
commit | 980ad512910a21d09c488968b402e2f35e94a22e (patch) | |
tree | 21c5ffc160e4c4c12958b70de5a7d8f0f307b9b4 | |
parent | b2fd3250c4a559d2941a6940c3e3190d4beabe25 (diff) | |
download | ffmpeg-980ad512910a21d09c488968b402e2f35e94a22e.tar.gz |
avcodec/exr: set layer_match in all branches
Otherwise it is left to the value from the previous iteration
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 433d2ae4353f3c513a45780845d9d8ca252cd4dc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/exr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index e7a6146f0e..5aa75ab112 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -1387,6 +1387,7 @@ static int decode_header(EXRContext *s, AVFrame *frame) if (*ch_gb.buffer == '.') ch_gb.buffer++; /* skip dot if not given */ } else { + layer_match = 0; av_log(s->avctx, AV_LOG_INFO, "Channel doesn't match layer : %s.\n", ch_gb.buffer); } |