Mercurial > libavcodec.hg
comparison mpeg12enc.c @ 9456:9e02b59f53ed libavcodec
Useless assignment found by the clang static analyzer.
author | michael |
---|---|
date | Fri, 17 Apr 2009 12:44:48 +0000 |
parents | e9d9d946f213 |
children | 6fe0b0ff991a |
comparison
equal
deleted
inserted
replaced
9455:6cb61c6220c3 | 9456:9e02b59f53ed |
---|---|
668 { | 668 { |
669 int code, bit_size, l, bits, range, sign; | 669 int code, bit_size, l, bits, range, sign; |
670 | 670 |
671 if (val == 0) { | 671 if (val == 0) { |
672 /* zero vector */ | 672 /* zero vector */ |
673 code = 0; | |
674 put_bits(&s->pb, | 673 put_bits(&s->pb, |
675 ff_mpeg12_mbMotionVectorTable[0][1], | 674 ff_mpeg12_mbMotionVectorTable[0][1], |
676 ff_mpeg12_mbMotionVectorTable[0][0]); | 675 ff_mpeg12_mbMotionVectorTable[0][0]); |
677 } else { | 676 } else { |
678 bit_size = f_or_b_code - 1; | 677 bit_size = f_or_b_code - 1; |