Browse Source

error_resilience: Drop asserts from guess_mv()

The asserts check struct members that are not referenced in guess_mv()
and one of them fails to compile.

(cherry picked from commit 7cb66ebc0b)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
tags/n2.4
Diego Biurrun 11 years ago
parent
commit
d04fb11868
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/error_resilience.c

+ 0
- 2
libavcodec/error_resilience.c View 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)


Loading…
Cancel
Save