diff options
author | v0lt <v0lt@users.sourceforge.net> | 2012-06-01 12:22:12 +0400 |
---|---|---|
committer | v0lt <v0lt@users.sourceforge.net> | 2012-06-01 12:22:12 +0400 |
commit | f757482b169fcd63d9091740bde7a2e176fe0b23 (patch) | |
tree | 3604bbabe22dcb8ef4b1b81f3ed43ad09d4d1158 /src/filters/parser/BaseSplitter | |
parent | cda94f2497ce1b3c17ea4b1926b871626c834e6e (diff) |
minor fix for previous commit
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4961 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/BaseSplitter')
-rw-r--r-- | src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp b/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp index 170811d1e..989dba529 100644 --- a/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp +++ b/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp @@ -2125,12 +2125,12 @@ bool CBaseSplitterFileEx::Find(mlphdr& h, int len, CMediaType* pmt) }
if (fsize && !isTrueHD) {
+ h.size = fsize;
+
if (!pmt) {
return true;
}
- h.size = fsize;
-
int bitrate = (int)(fsize * 8i64 * samplerate / framelength); // inaccurate, because fsize is not constant
pmt->majortype = MEDIATYPE_Audio;
pmt->subtype = MEDIASUBTYPE_MLP;
|