lavfi/buffersink: loop over ff_request_frame().
authorNicolas George <george@nsup.org>
Tue, 25 Aug 2015 22:15:22 +0000 (00:15 +0200)
committerNicolas George <george@nsup.org>
Sun, 20 Sep 2015 16:50:00 +0000 (18:50 +0200)
commit807d4b635567e51108ea3a6a774336321c3250e5
tree7f6192a02bd316a8724f70922dfa4532601fd0e6
parent4bb6cb4c7db41e04057a15d7629d0ce1c4556d85
lavfi/buffersink: loop over ff_request_frame().

Do not assume that ff_request_frame() returning success
implies a frame has arrived in the FIFO.
Instead, just loop until a frame is in the FIFO.
It does not change anything since the same loop is present
in ff_request_frame(), confirmed by an assertion.
libavfilter/buffersink.c