Revision 9d777508 libavcodec/vp3.c

View differences:

libavcodec/vp3.c
2052 2052
    if (s->theora >= 0x030200) {
2053 2053
        n = get_bits(gb, 3);
2054 2054
        /* loop filter limit values table */
2055
        if (n) {
2056
            for (i = 0; i < 64; i++) {
2055
        if (n)
2056
            for (i = 0; i < 64; i++)
2057 2057
                s->filter_limit_values[i] = get_bits(gb, n);
2058
                if (s->filter_limit_values[i] > 127) {
2059
                    av_log(avctx, AV_LOG_ERROR, "filter limit value too large (%i > 127), clamping\n", s->filter_limit_values[i]);
2060
                    s->filter_limit_values[i] = 127;
2061
                }
2062
            }
2063
        }
2064 2058
    }
2065 2059

  
2066 2060
    if (s->theora >= 0x030200)

Also available in: Unified diff