[SCM] libav/experimental: remove unused code, spotted by Jeff Downs, heydowns a borg d com
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:07:49 UTC 2013
The following commit has been merged in the experimental branch:
commit 9dceaa923e04dacf6968203ce83cbbe0e3b16dbd
Author: Andreas Öman <andreas at lonelycoder.com>
Date: Tue Oct 2 20:04:39 2007 +0000
remove unused code, spotted by Jeff Downs, heydowns a borg d com
Originally committed as revision 10650 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 4db4d97..e6a9d55 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4837,16 +4837,9 @@ static int decode_cabac_mb_cbp_chroma( H264Context *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++;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list