lavfi/audio: use av_samples_copy() instead of custom code.
authorAnton Khirnov <anton@khirnov.net>
Wed, 13 Jun 2012 08:52:35 +0000 (10:52 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 13 Jun 2012 11:58:58 +0000 (13:58 +0200)
commit9cdf74f904f76b2a1da474a2290c7e9ed34dd431
treed4169ea9067c26ce859c7bf70ededa76f7dad609
parentce03b0881a941b64c8478aaf7ff759a7fb43a382
lavfi/audio: use av_samples_copy() instead of custom code.

Fixes a possible invalid write, found by Nicolas George.
libavfilter/audio.c