From 64c06615d2b99fb9f4ffd6226d0e5787b44a41e2 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 2 May 2011 09:52:11 +0200 Subject: vsrc_buffer: simplify av_vsrc_buffer_add_frame*() interface Now that pix_fmt, width, and height are directly embedded in the AVFrame, there is no need to pass these values as separate arguments. --- libavfilter/vsrc_buffer.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libavfilter/vsrc_buffer.h') diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h index 68f7847890..2dda546e01 100644 --- a/libavfilter/vsrc_buffer.h +++ b/libavfilter/vsrc_buffer.h @@ -30,12 +30,9 @@ #include "libavcodec/avcodec.h" /* AVFrame */ #include "avfilter.h" -int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, - int64_t pts); +int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame); int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame, - int64_t pts, int width, - int height, enum PixelFormat pix_fmt, const char *sws_param); #endif /* AVFILTER_VSRC_BUFFER_H */ -- cgit v1.2.3