Revision e13cca4b libavcodec/vp3.c

View differences:

libavcodec/vp3.c
2171 2171
    if (s->theora >= 0x030200) {
2172 2172
        n = get_bits(gb, 3);
2173 2173
        /* loop filter limit values table */
2174
        for (i = 0; i < 64; i++)
2174
        for (i = 0; i < 64; i++) {
2175 2175
            s->filter_limit_values[i] = get_bits(gb, n);
2176
            if (s->filter_limit_values[i] > 127) {
2177
                av_log(avctx, AV_LOG_ERROR, "filter limit value too large (%i > 127), clamping\n", s->filter_limit_values[i]);
2178
                s->filter_limit_values[i] = 127;
2179
            }
2180
        }
2176 2181
    }
2177 2182

  
2178 2183
    if (s->theora >= 0x030200)

Also available in: Unified diff