Revision 7bad42cf libavcodec/vp3.c

View differences:

libavcodec/vp3.c
2066 2066

  
2067 2067
    /* set up plane-specific parameters */
2068 2068
    if (plane == 0) {
2069
        dequantizer = s->intra_y_dequant;
2070 2069
        output_plane = s->current_frame.data[0];
2071 2070
        last_plane = s->last_frame.data[0];
2072 2071
        golden_plane = s->golden_frame.data[0];
......
2075 2074
        upper_motion_limit = 7 * s->current_frame.linesize[0];
2076 2075
        lower_motion_limit = height * s->current_frame.linesize[0] + width - 8;
2077 2076
    } else if (plane == 1) {
2078
        dequantizer = s->intra_c_dequant;
2079 2077
        output_plane = s->current_frame.data[1];
2080 2078
        last_plane = s->last_frame.data[1];
2081 2079
        golden_plane = s->golden_frame.data[1];
......
2084 2082
        upper_motion_limit = 7 * s->current_frame.linesize[1];
2085 2083
        lower_motion_limit = height * s->current_frame.linesize[1] + width - 8;
2086 2084
    } else {
2087
        dequantizer = s->intra_c_dequant;
2088 2085
        output_plane = s->current_frame.data[2];
2089 2086
        last_plane = s->last_frame.data[2];
2090 2087
        golden_plane = s->golden_frame.data[2];
......
2172 2169
                            motion_source + stride + 1 + d, 
2173 2170
                            stride, 8);
2174 2171
                    }
2172
                    dequantizer = s->inter_dequant;
2173
                }else{
2174
                    if (plane == 0)
2175
                        dequantizer = s->intra_y_dequant;
2176
                    else
2177
                        dequantizer = s->intra_c_dequant;
2175 2178
                }
2176 2179

  
2177 2180
                /* dequantize the DCT coefficients */

Also available in: Unified diff