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>
Wed, 31 Jan 2018 22:47:15 +0000 (23:47 +0100)
commited06873b7b2dcace1dd421d92c3aaee2a4d6b26d
treed67822eadf01045d8bf1fe2056f41f3c6262f8d5
parentc740f585a183abccd0ffc9cce67989b4bb0d08b9
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