summaryrefslogtreecommitdiffstats
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-12-25 21:30:54 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-01-12 16:46:41 +0100
commit433d2ae4353f3c513a45780845d9d8ca252cd4dc (patch)
treec9f87cf664d337fcaa506d9791cd88715c9a2936 /libavcodec/exr.c
parentf9728feaf90eb7493f8872356f54150efafb59cc (diff)
downloadffmpeg-streaming-433d2ae4353f3c513a45780845d9d8ca252cd4dc.zip
ffmpeg-streaming-433d2ae4353f3c513a45780845d9d8ca252cd4dc.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>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r--libavcodec/exr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 13755e1..0f8b0fd 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -1389,6 +1389,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);
}
OpenPOWER on IntegriCloud