Revision 5d4890d7 libavfilter/vf_pixdesctest.c

View differences:

libavfilter/vf_pixdesctest.c
55 55
    AVFilterBufferRef *outpicref;
56 56
    int i;
57 57

  
58
    outlink->outpic = avfilter_get_video_buffer(outlink, AV_PERM_WRITE,
58
    outlink->out_buf = avfilter_get_video_buffer(outlink, AV_PERM_WRITE,
59 59
                                                outlink->w, outlink->h);
60
    outpicref = outlink->outpic;
60
    outpicref = outlink->out_buf;
61 61
    avfilter_copy_buffer_ref_props(outpicref, picref);
62 62

  
63 63
    for (i = 0; i < 4; i++) {
......
80 80
static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
81 81
{
82 82
    PixdescTestContext *priv = inlink->dst->priv;
83
    AVFilterBufferRef *inpic    = inlink->cur_pic;
84
    AVFilterBufferRef *outpic   = inlink->dst->outputs[0]->outpic;
83
    AVFilterBufferRef *inpic    = inlink->cur_buf;
84
    AVFilterBufferRef *outpic   = inlink->dst->outputs[0]->out_buf;
85 85
    int i, c, w = inlink->w;
86 86

  
87 87
    for (c = 0; c < priv->pix_desc->nb_components; c++) {

Also available in: Unified diff