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>
Mon, 19 Feb 2018 01:40:54 +0000 (02:40 +0100)
commit5d06804b313677c149f106a8dba97988ad064385
tree3a950beb33bff64e88ee19e9729452784e60569f
parentcedd9ea93ea2f71a57e3b1e9fa01bd7b0cf02bba
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