EBML tweaks
This commit is contained in:
parent
01e15663e9
commit
b839a9f618
3 changed files with 9 additions and 2 deletions
|
@ -131,7 +131,12 @@ namespace Mist{
|
|||
if (inFile == stdin){
|
||||
lastClusterBPos = 0;
|
||||
}else{
|
||||
lastClusterBPos = Util::ftell(inFile);
|
||||
int64_t bp = Util::ftell(inFile);
|
||||
if(bp == -1 && errno == ESPIPE){
|
||||
lastClusterBPos = 0;
|
||||
}else{
|
||||
lastClusterBPos = bp;
|
||||
}
|
||||
}
|
||||
DONTEVEN_MSG("Found a cluster at position %llu", lastClusterBPos);
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#pragma once
|
||||
#include "input.h"
|
||||
#include <mist/util.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue