avfilter/ff_insert_pad: fix order of operations
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Oct 2013 14:21:14 +0000 (16:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Oct 2013 14:43:25 +0000 (16:43 +0200)
commitab2bfb85d49b2f8aa505816f93e75fd18ad0a361
tree5b23d867a581a57dfe9abf8158d5627dafa874da
parentc65521693914aed1c9fe42a2d6aebbde667fac79
avfilter/ff_insert_pad: fix order of operations

Fixes out of bounds access
Fixes CID732170
Fixes CID732169

No filter is known to use this function in a way so the issue can be reproduced.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c