diff options
author | v0lt <v0lt@users.sourceforge.net> | 2012-04-21 01:02:45 +0400 |
---|---|---|
committer | v0lt <v0lt@users.sourceforge.net> | 2012-04-21 01:02:45 +0400 |
commit | abfc5db17bb710a56fdbc7dd989a69c425a3d0ca (patch) | |
tree | c89b86fd19ffb727e17125018e723bc63a2c42af /src/filters/parser/MP4Splitter/MP4Splitter.cpp | |
parent | f8d6eb4cfd4a52a19585bb71087dd1cbc88f2c68 (diff) |
cosmetics
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4461 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/MP4Splitter/MP4Splitter.cpp')
-rw-r--r-- | src/filters/parser/MP4Splitter/MP4Splitter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/filters/parser/MP4Splitter/MP4Splitter.cpp b/src/filters/parser/MP4Splitter/MP4Splitter.cpp index 71baa4d59..34da0e1cb 100644 --- a/src/filters/parser/MP4Splitter/MP4Splitter.cpp +++ b/src/filters/parser/MP4Splitter/MP4Splitter.cpp @@ -700,9 +700,8 @@ HRESULT CMP4SplitterFilter::CreateOutputs(IAsyncReader* pAsyncReader) case AP4_MPEG2_AAC_AUDIO_SSRP_OTI: // ???
if (di->GetDataSize() > 10) {
if (*(DWORD*)(di->GetData()+6) == 0x00534c41) { // 'ALS\0' sync word
- DWORD fourcc = MAKEFOURCC('A','L','S',' ');
- wfe->wFormatTag = (WORD)fourcc;
- mt.subtype = FOURCCMap(fourcc); // create our own GUID - {20534C41-0000-0010-8000-00AA00389B71}
+ wfe->wFormatTag = WAVE_FORMAT_UNKNOWN;
+ mt.subtype = FOURCCMap(MAKEFOURCC('A','L','S',' ')); // create our own GUID - {20534C41-0000-0010-8000-00AA00389B71}
mts.Add(mt);
break;
}
|