lavfi/buffersink: implement av_buffersink_get_samples().
authorNicolas George <nicolas.george@normalesup.org>
Sun, 10 Mar 2013 15:44:46 +0000 (16:44 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Sun, 10 Mar 2013 18:39:25 +0000 (19:39 +0100)
commitde54a96aa8f5959ebd87516d514c77055b369fed
tree491fb7fae2bd8178c0ff42e9777596716ff3d509
parentb71db3f38eafeb05e068804e002984b0d232e5f6
lavfi/buffersink: implement av_buffersink_get_samples().

Note: the implementation could be more efficient, but at
the cost of more diff.

Most of the code from the following commit:

commit a2cd9be212fca02dd3d6ee65cb6ab9f84c5e28e5
Author: Anton Khirnov <anton@khirnov.net>
Date:   Fri May 4 19:22:38 2012 +0200

    lavfi: add an audio buffer sink.

Adapted to call av_buffersink_get_frame_flags() instead of
accessing the frame directly.
libavfilter/buffersink.c