Fix design of the pad filter.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 11 Jan 2011 23:53:24 +0000 (23:53 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 11 Jan 2011 23:53:24 +0000 (23:53 +0000)
commit2e3254763bff784d43bd9f954820a9523b1960ab
tree19fb614fc01c1246247fa5e8f2551fdde289c7ac
parent0519ed06d8c96f1fac05def1477e0287aa17835d
Fix design of the pad filter.
Previously the pad filter just drawed borders in the surrounding of the input
without checking if this area was allocated or writeable. Now we check and
allocate a new buffer if the input is unsuitable.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26315 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavfilter/vf_pad.c