summaryrefslogtreecommitdiff
path: root/libavfilter/vf_fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_fifo.c')
-rw-r--r--libavfilter/vf_fifo.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavfilter/vf_fifo.c b/libavfilter/vf_fifo.c
index 91e4b9d111..d9200d770a 100644
--- a/libavfilter/vf_fifo.c
+++ b/libavfilter/vf_fifo.c
@@ -24,6 +24,7 @@
*/
#include "avfilter.h"
+#include "internal.h"
#include "video.h"
typedef struct BufPic {
@@ -83,9 +84,9 @@ static int request_frame(AVFilterLink *outlink)
/* by doing this, we give ownership of the reference to the next filter,
* so we don't have to worry about dereferencing it ourselves. */
- avfilter_start_frame(outlink, fifo->root.next->picref);
- avfilter_draw_slice (outlink, 0, outlink->h, 1);
- avfilter_end_frame (outlink);
+ ff_start_frame(outlink, fifo->root.next->picref);
+ ff_draw_slice (outlink, 0, outlink->h, 1);
+ ff_end_frame (outlink);
if (fifo->last == fifo->root.next)
fifo->last = &fifo->root;