Mercurial > libavformat.hg
changeset 3666:0e60f2b18452 libavformat
matroskadec: remove unused levelup parameter from ebml_read_element_id()
author | aurel |
---|---|
date | Tue, 05 Aug 2008 00:41:43 +0000 |
parents | 8fb8a0dfe593 |
children | 0735d792bad2 |
files | matroskadec.c |
diffstat | 1 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskadec.c Tue Aug 05 00:41:40 2008 +0000 +++ b/matroskadec.c Tue Aug 05 00:41:43 2008 +0000 @@ -542,8 +542,7 @@ */ static int ebml_read_element_id (MatroskaDemuxContext *matroska, - uint32_t *id, - int *level_up) + uint32_t *id) { int read; uint64_t total; @@ -589,7 +588,7 @@ uint32_t id; int res; - res = ebml_read_element_id(matroska, &id, NULL); + res = ebml_read_element_id(matroska, &id); if (res < 0) return 0; @@ -627,7 +626,7 @@ uint64_t length; int res; - if ((res = ebml_read_element_id(matroska, &id, NULL)) < 0 || + if ((res = ebml_read_element_id(matroska, &id)) < 0 || (res = ebml_read_element_length(matroska, &length)) < 0) return res; @@ -649,7 +648,7 @@ int n = 0, size, res; uint64_t rlength; - if ((res = ebml_read_element_id(matroska, id, NULL)) < 0 || + if ((res = ebml_read_element_id(matroska, id)) < 0 || (res = ebml_read_element_length(matroska, &rlength)) < 0) return res; size = rlength; @@ -682,7 +681,7 @@ int size, res; uint64_t rlength; - if ((res = ebml_read_element_id(matroska, id, NULL)) < 0 || + if ((res = ebml_read_element_id(matroska, id)) < 0 || (res = ebml_read_element_length(matroska, &rlength)) < 0) return res; size = rlength; @@ -715,7 +714,7 @@ int size, res; uint64_t rlength; - if ((res = ebml_read_element_id(matroska, id, NULL)) < 0 || + if ((res = ebml_read_element_id(matroska, id)) < 0 || (res = ebml_read_element_length(matroska, &rlength)) < 0) return res; size = rlength; @@ -752,7 +751,7 @@ MatroskaLevel *level; int res; - if ((res = ebml_read_element_id(matroska, id, NULL)) < 0 || + if ((res = ebml_read_element_id(matroska, id)) < 0 || (res = ebml_read_element_length(matroska, &length)) < 0) return res; @@ -783,7 +782,7 @@ uint64_t rlength; int res; - if ((res = ebml_read_element_id(matroska, id, NULL)) < 0 || + if ((res = ebml_read_element_id(matroska, id)) < 0 || (res = ebml_read_element_length(matroska, &rlength)) < 0) return res; *size = rlength;