Mercurial > libavcodec.hg
comparison mpegvideo.c @ 9467:0d6c8c99382e libavcodec
Remove 2 unused variables from MPV_decode_mb_internal() found by CSA.
author | michael |
---|---|
date | Fri, 17 Apr 2009 14:51:00 +0000 |
parents | 638187aad3aa |
children | 5c9d3a72aabf |
comparison
equal
deleted
inserted
replaced
9466:674090f13019 | 9467:0d6c8c99382e |
---|---|
1778 */ | 1778 */ |
1779 static av_always_inline | 1779 static av_always_inline |
1780 void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64], | 1780 void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64], |
1781 int lowres_flag, int is_mpeg12) | 1781 int lowres_flag, int is_mpeg12) |
1782 { | 1782 { |
1783 int mb_x, mb_y; | |
1784 const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; | 1783 const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; |
1785 if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration){ | 1784 if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration){ |
1786 ff_xvmc_decode_mb(s);//xvmc uses pblocks | 1785 ff_xvmc_decode_mb(s);//xvmc uses pblocks |
1787 return; | 1786 return; |
1788 } | 1787 } |
1789 | |
1790 mb_x = s->mb_x; | |
1791 mb_y = s->mb_y; | |
1792 | 1788 |
1793 if(s->avctx->debug&FF_DEBUG_DCT_COEFF) { | 1789 if(s->avctx->debug&FF_DEBUG_DCT_COEFF) { |
1794 /* save DCT coefficients */ | 1790 /* save DCT coefficients */ |
1795 int i,j; | 1791 int i,j; |
1796 DCTELEM *dct = &s->current_picture.dct_coeff[mb_xy*64*6]; | 1792 DCTELEM *dct = &s->current_picture.dct_coeff[mb_xy*64*6]; |