projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c9628
)
remove unused code, spotted by Jeff Downs, heydowns a borg d com
author
Andreas Öman
<andreas@lonelycoder.com>
Tue, 2 Oct 2007 20:04:39 +0000
(20:04 +0000)
committer
Andreas Öman
<andreas@lonelycoder.com>
Tue, 2 Oct 2007 20:04:39 +0000
(20:04 +0000)
Originally committed as revision 10650 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index 4db4d97a46d66ce352518c8e36fd1f2aea22071c..e6a9d55476f52652ad2c75866425465c8f454c50 100644
(file)
--- 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++;