diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-05 00:42:23 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-05 00:42:23 +0000 |
commit | 6314cca006c9e278da69fcdbdfec64e592cdfc37 (patch) | |
tree | 8d3ee8afd825691b901ed610fd5ef9cc04c55003 /libavformat/matroskadec.c | |
parent | c4d3d9ba950b9c86dee3f444bae6280e189a9551 (diff) | |
download | ffmpeg-6314cca006c9e278da69fcdbdfec64e592cdfc37.tar.gz |
matroskadec: remove now unused parameter 'once' from ebml_parse_nest()
Originally committed as revision 14599 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index c4ae757e2b..82b8960848 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -849,7 +849,7 @@ static int matroska_probe(AVProbeData *p) static int ebml_parse_id(MatroskaDemuxContext *matroska, EbmlSyntax *syntax, uint32_t id, void *data); static int ebml_parse_nest(MatroskaDemuxContext *matroska, EbmlSyntax *syntax, - void *data, int once); + void *data); static int ebml_parse_elem(MatroskaDemuxContext *matroska, EbmlSyntax *syntax, void *data) @@ -882,7 +882,7 @@ static int ebml_parse_elem(MatroskaDemuxContext *matroska, return res; if (id == MATROSKA_ID_SEGMENT) matroska->segment_start = url_ftell(matroska->ctx->pb); - return ebml_parse_nest(matroska, syntax->def.n, data, 0); + return ebml_parse_nest(matroska, syntax->def.n, data); case EBML_PASS: return ebml_parse_id(matroska, syntax->def.n, id, data); case EBML_STOP: *(int *)data = 1; return 1; default: url_fskip(pb, length); return 0; @@ -915,7 +915,7 @@ static int ebml_parse(MatroskaDemuxContext *matroska, EbmlSyntax *syntax, } static int ebml_parse_nest(MatroskaDemuxContext *matroska, EbmlSyntax *syntax, - void *data, int once) + void *data) { int i, res = 0; @@ -933,11 +933,8 @@ static int ebml_parse_nest(MatroskaDemuxContext *matroska, EbmlSyntax *syntax, break; } - while (!res && !ebml_level_end(matroska)) { + while (!res && !ebml_level_end(matroska)) res = ebml_parse(matroska, syntax, data); - if (once) - break; - } return res; } |