OSDN Git Service

Fix design of the pad filter.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Jan 2011 23:53:24 +0000 (23:53 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Jan 2011 23:53:24 +0000 (23:53 +0000)
commite3331706fcc9888ee85f0b9f763e4d006b178c14
tree46bf04d8e417bf62ea68aa8aae207a8118e651c8
parent36dc00de529fb4cd182e02f927597eef9514b886
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.

Originally committed as revision 26315 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/vf_pad.c