avfilter/vf_transpose: Fix used plane count.
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 24 Jan 2018 18:38:05 +0000 (19:38 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Jul 2018 11:07:06 +0000 (13:07 +0200)
commitc4ba170cad2ccdd896ea6fd3a890980008606541
tree6cd6a2d8969c8e70275dd3ffdc7947322457b8f6
parent6abe8c7563a8c247ff2d0f3caa809299ae6182b7
avfilter/vf_transpose: Fix used plane count.

Fixes out of array access
Fixes: poc.mp4

Found-by: GwanYeong Kim <gy741.kim@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c6939f65a116b1ffed345d29d8621ee4ffb32235)
(cherry picked from commit 3f621455d62e46745453568d915badd5b1e5bcd5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_transpose.c