summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 12:44:48 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 12:44:48 +0000
commit2a47a2666d9ebea27b5c4ecd295c19af1e5ebe79 (patch)
tree4cc75b24bd26a1d5832fdc91e863021447579069 /libavcodec
parent03d5ea54c1238b9a7e6c540a240050637f6d6e52 (diff)
Useless assignment found by the clang static analyzer.
Originally committed as revision 18545 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12enc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c
index bbf0344b17..50a66205ea 100644
--- a/libavcodec/mpeg12enc.c
+++ b/libavcodec/mpeg12enc.c
@@ -670,7 +670,6 @@ static void mpeg1_encode_motion(MpegEncContext *s, int val, int f_or_b_code)
if (val == 0) {
/* zero vector */
- code = 0;
put_bits(&s->pb,
ff_mpeg12_mbMotionVectorTable[0][1],
ff_mpeg12_mbMotionVectorTable[0][0]);