# HG changeset patch # User andoma # Date 1191355479 0 # Node ID b526d558cb20ce0d8b4db72d0d954e00d02a974b # Parent a73ecbffc421b577a4c2737b9866c33aca8197a3 remove unused code, spotted by Jeff Downs, heydowns a borg d com diff -r a73ecbffc421 -r b526d558cb20 h264.c --- a/h264.c Tue Oct 02 19:51:18 2007 +0000 +++ b/h264.c Tue Oct 02 20:04:39 2007 +0000 @@ -4837,16 +4837,9 @@ return 1 + get_cabac_noinline( &h->cabac, &h->cabac_state[77 + ctx] ); } static int decode_cabac_mb_dqp( H264Context *h) { - MpegEncContext * const s = &h->s; - int mbn_xy; int ctx = 0; int val = 0; - if( s->mb_x > 0 ) - mbn_xy = s->mb_x + s->mb_y*s->mb_stride - 1; - else - mbn_xy = s->mb_width - 1 + (s->mb_y-1)*s->mb_stride; - if( h->last_qscale_diff != 0 ) ctx++;