diff options
author | Andreas Öman <andreas@lonelycoder.com> | 2007-10-02 20:04:39 +0000 |
---|---|---|
committer | Andreas Öman <andreas@lonelycoder.com> | 2007-10-02 20:04:39 +0000 |
commit | 9dceaa923e04dacf6968203ce83cbbe0e3b16dbd (patch) | |
tree | 096636001b5b66ab69f2697395218b0f21ebdc9d /libavcodec/h264.c | |
parent | 17c9628b57b01aceee8460466a0f482828d3e1c7 (diff) | |
download | ffmpeg-9dceaa923e04dacf6968203ce83cbbe0e3b16dbd.tar.gz |
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/h264.c')
-rw-r--r-- | libavcodec/h264.c | 7 |
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++; |