wav: cleanup
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
bdd76b302d
commit
91ffe3f633
@ -465,7 +465,6 @@ namespace stdex
|
|||||||
if (!stdex::idrec::record<T, id_t, T::record::id(), length_t, align>::find(dat, block_end))
|
if (!stdex::idrec::record<T, id_t, T::record::id(), length_t, align>::find(dat, block_end))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Preberemo dolžino elementa.
|
|
||||||
length_t size;
|
length_t size;
|
||||||
dat >> size;
|
dat >> size;
|
||||||
if (!dat.ok()) _Unlikely_
|
if (!dat.ok()) _Unlikely_
|
||||||
@ -545,7 +544,6 @@ namespace stdex
|
|||||||
while (dat.tell() < block_end) {
|
while (dat.tell() < block_end) {
|
||||||
stdex::stream::fpos_t found_block_end;
|
stdex::stream::fpos_t found_block_end;
|
||||||
if (find_first<list>(dat, *(const id_t*)"adtl", block_end, &found_block_end)) {
|
if (find_first<list>(dat, *(const id_t*)"adtl", block_end, &found_block_end)) {
|
||||||
// Preberemo vse zapise seznama.
|
|
||||||
while (dat.tell() < found_block_end) {
|
while (dat.tell() < found_block_end) {
|
||||||
id_t id;
|
id_t id;
|
||||||
dat >> id;
|
dat >> id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user