[FFmpeg-cvslog] r10650 - trunk/libavcodec/h264.c

andoma subversion
Tue Oct 2 22:04:39 CEST 2007


Author: andoma
Date: Tue Oct  2 22:04:39 2007
New Revision: 10650

Log:
remove unused code, spotted by Jeff Downs, heydowns a borg d com


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Tue Oct  2 22:04:39 2007
@@ -4837,16 +4837,9 @@ static int decode_cabac_mb_cbp_chroma( H
     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++;
 




More information about the ffmpeg-cvslog mailing list