aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-03 00:48:20 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-03 00:48:20 +0000
commit1e90b34f0814fe717957bf4d196e5b7a0feb05b9 (patch)
tree9941d595cb241367ab6e2ab174e62b66991a7973 /libavcodec
parentd0966f026cb5df0a82be2247adfa1351abaed9be (diff)
downloadffmpeg-1e90b34f0814fe717957bf4d196e5b7a0feb05b9.tar.gz
dead code removial
Originally committed as revision 7405 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/snow.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 9e92eecab0..9e12eb4c24 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -2290,12 +2290,10 @@ static void decode_q_branch(SnowContext *s, int level, int x, int y){
}
if(level==s->block_max_depth || get_rac(&s->c, &s->block_state[4 + s_context])){
- int type;
+ int type, mx, my;
int l = left->color[0];
int cb= left->color[1];
int cr= left->color[2];
- int mx= mid_pred(left->mx, top->mx, tr->mx);
- int my= mid_pred(left->my, top->my, tr->my);
int ref = 0;
int ref_context= av_log2(2*left->ref) + av_log2(2*top->ref);
int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 0*av_log2(2*FFABS(tr->mx - top->mx));