changeset 5759:b526d558cb20 libavcodec

remove unused code, spotted by Jeff Downs, heydowns a borg d com
author andoma
date Tue, 02 Oct 2007 20:04:39 +0000
parents a73ecbffc421
children e8145dd711b5
files h264.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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++;