Mercurial > libavformat.hg
changeset 3645:b6c4748dcf5c libavformat
matroskadec: remove useless dummy_level variable
author | aurel |
---|---|
date | Tue, 05 Aug 2008 00:40:40 +0000 |
parents | 1990951ffa35 |
children | 370243aa26c0 |
files | matroskadec.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskadec.c Tue Aug 05 00:40:36 2008 +0000 +++ b/matroskadec.c Tue Aug 05 00:40:40 2008 +0000 @@ -1346,7 +1346,6 @@ uint32_t peek_id_cache = matroska->peek_id; uint32_t level_up = matroska->level_up; offset_t before_pos = url_ftell(matroska->ctx->pb); - int dummy_level = 0; MatroskaLevel level; uint32_t id; int i, res; @@ -1375,7 +1374,6 @@ level.length = (uint64_t)-1; matroska->levels[matroska->num_levels] = level; matroska->num_levels++; - dummy_level = 1; /* check ID */ if (!(id = ebml_peek_id (matroska, @@ -1410,7 +1408,6 @@ finish: /* remove dummy level */ - if (dummy_level) while (matroska->num_levels) { uint64_t length = matroska->levels[--matroska->num_levels].length; if (length == (uint64_t)-1)