Revision c9640c17 libavcodec/dsputil.c

View differences:

libavcodec/dsputil.c
2999 2999
                int i_delta;
3000 3000

  
3001 3001
                if( FFABS( p2 - p0 ) < beta ) {
3002
                    if(tc0[i])
3002 3003
                    pix[-2*xstride] = p1 + av_clip( (( p2 + ( ( p0 + q0 + 1 ) >> 1 ) ) >> 1) - p1, -tc0[i], tc0[i] );
3003 3004
                    tc++;
3004 3005
                }
3005 3006
                if( FFABS( q2 - q0 ) < beta ) {
3007
                    if(tc0[i])
3006 3008
                    pix[   xstride] = q1 + av_clip( (( q2 + ( ( p0 + q0 + 1 ) >> 1 ) ) >> 1) - q1, -tc0[i], tc0[i] );
3007 3009
                    tc++;
3008 3010
                }

Also available in: Unified diff