diff options
author | S.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu> | 2010-08-07 01:15:19 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-07 01:15:19 +0000 |
commit | ecc8dada379261b8ad3788336cdc9d15de55b64b (patch) | |
tree | fed81eca2de81e396ca6dff69760539b2b4d99f7 /libavfilter/vf_scale.c | |
parent | e11b104a687343993cdffd4b7d1c06fcc6f31be0 (diff) | |
download | ffmpeg-ecc8dada379261b8ad3788336cdc9d15de55b64b.tar.gz |
Rename AVFilterPicRef to AVFilterBufferRef.
The struct is going to be used for storing audio buffer references as
well, and the new name is more generic.
Patch by S.N. Hemanth Meenakshisundaram @smeenaks@ucsd@edu@.
Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r-- | libavfilter/vf_scale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index c75cf7c87f..4608de5a33 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -142,11 +142,11 @@ static int config_props(AVFilterLink *outlink) return !scale->sws; } -static void start_frame(AVFilterLink *link, AVFilterPicRef *picref) +static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref) { ScaleContext *scale = link->dst->priv; AVFilterLink *outlink = link->dst->outputs[0]; - AVFilterPicRef *outpicref; + AVFilterBufferRef *outpicref; scale->hsub = av_pix_fmt_descriptors[link->format].log2_chroma_w; scale->vsub = av_pix_fmt_descriptors[link->format].log2_chroma_h; @@ -169,7 +169,7 @@ static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir) { ScaleContext *scale = link->dst->priv; int out_h; - AVFilterPicRef *cur_pic = link->cur_pic; + AVFilterBufferRef *cur_pic = link->cur_pic; const uint8_t *data[4]; if (scale->slice_y == 0 && slice_dir == -1) |