error_resilience: Drop asserts from guess_mv()
authorDiego Biurrun <diego@biurrun.de>
Wed, 20 Aug 2014 16:35:08 +0000 (09:35 -0700)
committerDiego Biurrun <diego@biurrun.de>
Thu, 21 Aug 2014 11:18:23 +0000 (04:18 -0700)
The asserts check struct members that are not referenced in guess_mv()
and one of them fails to compile.

libavcodec/error_resilience.c

index b41474a..33b0360 100644 (file)
@@ -430,8 +430,6 @@ static void guess_mv(ERContext *s)
 
                     if (fixed[mb_xy] == MV_FROZEN)
                         continue;
-                    assert(!IS_INTRA(s->cur_pic.mb_type[mb_xy]));
-                    assert(s->last_pic && s->last_pic.f->data[0]);
 
                     j = 0;
                     if (mb_x > 0             && fixed[mb_xy - 1]         == MV_FROZEN)