vf_transpose: avoid multiple calls to avfilter_draw_slice()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 29 Jul 2011 18:19:04 +0000 (20:19 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 13 Nov 2011 22:22:06 +0000 (23:22 +0100)
commitfe06305b0dc50835c39722629a685aee0e184af6
tree459ae71f53764c68bc9c8a2aff319bc6e05cebab
parentd58c5586eca69dcfbce299dfb2e622dfc3319faa
vf_transpose: avoid multiple calls to avfilter_draw_slice()

avfilter_draw_slice() is already called in the end_frame() callback,
this avoids multiple calls. This is done by adding a null draw_slice()
callback.

In particular fix crash occurring with -vf transpose=3,hflip, fix trac
issue #371.
(cherry picked from commit d9c23a0d5a56488b146eef17a19a9b47643be333)
libavfilter/vf_transpose.c