vcodec/vc1dec: remove dead code
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Oct 2013 12:34:35 +0000 (13:34 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Oct 2013 12:34:35 +0000 (13:34 +0100)
Fixes CID732196

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vc1dec.c

index bfbbc6a..682a9d2 100644 (file)
@@ -1815,8 +1815,7 @@ static inline void vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
             } else if (total_valid) {
                 if      (a_valid) { px = A[0]; py = A[1]; }
                 else if (b_valid) { px = B[0]; py = B[1]; }
-                else if (c_valid) { px = C[0]; py = C[1]; }
-                else av_assert2(0);
+                else              { px = C[0]; py = C[1]; }
             }
         }
     } else {