Revision de8cac16

View differences:

libavcodec/rv34.c
1285 1285

  
1286 1286
            memmove(r->intra_types_hist, r->intra_types, s->b4_stride * 4 * sizeof(*r->intra_types_hist));
1287 1287
            memset(r->intra_types, -1, s->b4_stride * 4 * sizeof(*r->intra_types_hist));
1288

  
1289
            if(r->loop_filter && s->mb_y >= 2)
1290
                r->loop_filter(r, s->mb_y - 2);
1288 1291
        }
1289 1292
        if(s->mb_x == s->resync_mb_x)
1290 1293
            s->first_slice_line=0;
......
1405 1408

  
1406 1409
    if(last){
1407 1410
        if(r->loop_filter)
1408
            r->loop_filter(r);
1411
            r->loop_filter(r, s->mb_height - 1);
1409 1412
        ff_er_frame_end(s);
1410 1413
        MPV_frame_end(s);
1411 1414
        if (s->pict_type == FF_B_TYPE || s->low_delay) {
libavcodec/rv34.h
115 115
    int (*parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si);
116 116
    int (*decode_mb_info)(struct RV34DecContext *r);
117 117
    int (*decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_t *dst);
118
    void (*loop_filter)(struct RV34DecContext *r);
118
    void (*loop_filter)(struct RV34DecContext *r, int row);
119 119
}RV34DecContext;
120 120

  
121 121
/**

Also available in: Unified diff