From 5d4890d73d77a75bd3bbb3e469de32da71742726 Mon Sep 17 00:00:00 2001 From: "S.N. Hemanth Meenakshisundaram" Date: Sat, 7 Aug 2010 01:15:34 +0000 Subject: Rename fields: AVFilterLink.srcpic -> AVFilterLink.src_buf AVFilterLink.cur_pic -> AVFilterLink.cur_buf AVFilterLink.outpic -> AVFilterLink.out_buf The new names are more generic and more consistent, since the struct they contain, which was named AVFilterPicRef, has been renamed to AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%. Originally committed as revision 24732 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffplay.c') diff --git a/ffplay.c b/ffplay.c index 287e43613d..c89a8b3143 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1745,9 +1745,9 @@ static int get_filtered_video_frame(AVFilterContext *ctx, AVFrame *frame, if(avfilter_request_frame(ctx->inputs[0])) return -1; - if(!(pic = ctx->inputs[0]->cur_pic)) + if(!(pic = ctx->inputs[0]->cur_buf)) return -1; - ctx->inputs[0]->cur_pic = NULL; + ctx->inputs[0]->cur_buf = NULL; frame->opaque = pic; *pts = pic->pts; -- cgit v1.2.3