mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Remove unused variable from h261_encode_block() found by CSA.
Originally committed as revision 18575 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5e12701c5c
commit
38a7695f67
@ -256,7 +256,7 @@ void ff_h261_encode_init(MpegEncContext *s){
|
|||||||
*/
|
*/
|
||||||
static void h261_encode_block(H261Context * h, DCTELEM * block, int n){
|
static void h261_encode_block(H261Context * h, DCTELEM * block, int n){
|
||||||
MpegEncContext * const s = &h->s;
|
MpegEncContext * const s = &h->s;
|
||||||
int level, run, last, i, j, last_index, last_non_zero, sign, slevel, code;
|
int level, run, i, j, last_index, last_non_zero, sign, slevel, code;
|
||||||
RLTable *rl;
|
RLTable *rl;
|
||||||
|
|
||||||
rl = &h261_rl_tcoeff;
|
rl = &h261_rl_tcoeff;
|
||||||
@ -294,7 +294,6 @@ static void h261_encode_block(H261Context * h, DCTELEM * block, int n){
|
|||||||
level = block[j];
|
level = block[j];
|
||||||
if (level) {
|
if (level) {
|
||||||
run = i - last_non_zero - 1;
|
run = i - last_non_zero - 1;
|
||||||
last = (i == last_index);
|
|
||||||
sign = 0;
|
sign = 0;
|
||||||
slevel = level;
|
slevel = level;
|
||||||
if (level < 0) {
|
if (level < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user