diff options
author | S.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu> | 2010-08-07 01:15:34 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-07 01:15:34 +0000 |
commit | 5d4890d73d77a75bd3bbb3e469de32da71742726 (patch) | |
tree | da63fedb78b6c5553bd62436731240f8c558d88d /ffplay.c | |
parent | 7fce481a69053dd24dbf9f1cb0f5b51df2ec925c (diff) | |
download | ffmpeg-5d4890d73d77a75bd3bbb3e469de32da71742726.tar.gz |
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
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |