Revision a4501a45 libavcodec/vp3.c

View differences:

libavcodec/vp3.c
136 136
    DSPContext dsp;
137 137
    int flipped_image;
138 138
    int last_slice_end;
139
    int skip_loop_filter;
139 140

  
140 141
    int qps[3];
141 142
    int nqps;
......
1494 1495
            }
1495 1496

  
1496 1497
            // Filter up to the last row in the superblock row
1497
            apply_loop_filter(s, plane, 4*sb_y - !!sb_y, FFMIN(4*sb_y+3, fragment_height-1));
1498
            if (!s->skip_loop_filter)
1499
                apply_loop_filter(s, plane, 4*sb_y - !!sb_y, FFMIN(4*sb_y+3, fragment_height-1));
1498 1500
        }
1499 1501
    }
1500 1502

  
......
1749 1751
            s->keyframe?"key":"", counter, s->qps[0]);
1750 1752
    counter++;
1751 1753

  
1754
    s->skip_loop_filter = !s->filter_limit_values[s->qps[0]] ||
1755
        avctx->skip_loop_filter >= (s->keyframe ? AVDISCARD_ALL : AVDISCARD_NONKEY);
1756

  
1752 1757
    if (s->qps[0] != s->last_qps[0])
1753 1758
        init_loop_filter(s);
1754 1759

  

Also available in: Unified diff