summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Öman <andreas@lonelycoder.com>2007-10-02 20:04:39 +0000
committerAndreas Öman <andreas@lonelycoder.com>2007-10-02 20:04:39 +0000
commit9dceaa923e04dacf6968203ce83cbbe0e3b16dbd (patch)
tree096636001b5b66ab69f2697395218b0f21ebdc9d /libavcodec
parent17c9628b57b01aceee8460466a0f482828d3e1c7 (diff)
remove unused code, spotted by Jeff Downs, heydowns a borg d com
Originally committed as revision 10650 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 4db4d97a46..e6a9d55476 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++;