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]);