Revision 2bb96256

View differences:

libavfilter/avfilter.c
294 294
void avfilter_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
295 295
{
296 296
    uint8_t *src[4], *dst[4];
297
    int i, j, hsub, vsub;
297
    int i, j, vsub;
298 298
    void (*draw_slice)(AVFilterLink *, int, int, int);
299 299

  
300 300
    DPRINTF_START(NULL, draw_slice); dprintf_link(NULL, link, 0); dprintf(NULL, " y:%d h:%d dir:%d\n", y, h, slice_dir);
301 301

  
302 302
    /* copy the slice if needed for permission reasons */
303 303
    if(link->srcpic) {
304
        hsub = av_pix_fmt_descriptors[link->format].log2_chroma_w;
305 304
        vsub = av_pix_fmt_descriptors[link->format].log2_chroma_h;
306 305

  
307 306
        for(i = 0; i < 4; i ++) {

Also available in: Unified diff