| 1120 | } |
| 1121 | |
| 1122 | static int samples_ready(FilterLinkInternal *link, unsigned min) |
| 1123 | { |
| 1124 | return ff_framequeue_queued_frames(&link->fifo) && |
| 1125 | (ff_framequeue_queued_samples(&link->fifo) >= min || |
| 1126 | link->status_in); |
| 1127 | } |
| 1128 | |
| 1129 | static int take_samples(FilterLinkInternal *li, unsigned min, unsigned max, |
| 1130 | AVFrame **rframe) |
no test coverage detected