diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-25 16:17:23 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-25 16:17:23 +0000 |
commit | 8401d53158982d4a5df6fbe30a3f46a9cbe1fb6f (patch) | |
tree | 6a131a6188d225028ee6f62162d1078d800e1cb7 /loader/dshow/DS_AudioDecoder.c | |
parent | e8f2dabe9bb31b0edc69254ed83dbe6479499171 (diff) | |
download | mpv-8401d53158982d4a5df6fbe30a3f46a9cbe1fb6f.tar.bz2 mpv-8401d53158982d4a5df6fbe30a3f46a9cbe1fb6f.tar.xz |
cbAlign=1 fix for proper Windows support (noticed by Sascha Sommer)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9504 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow/DS_AudioDecoder.c')
-rw-r--r-- | loader/dshow/DS_AudioDecoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loader/dshow/DS_AudioDecoder.c b/loader/dshow/DS_AudioDecoder.c index d38dcdd52b..851854a9df 100644 --- a/loader/dshow/DS_AudioDecoder.c +++ b/loader/dshow/DS_AudioDecoder.c @@ -105,7 +105,8 @@ DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* props.cBuffers=1; props.cbBuffer=this->m_sOurType.lSampleSize; - props.cbAlign=props.cbPrefix=0; + props.cbAlign=1; + props.cbPrefix=0; this->m_pDS_Filter->m_pAll->vt->SetProperties(this->m_pDS_Filter->m_pAll, &props, &props1); this->m_pDS_Filter->m_pAll->vt->Commit(this->m_pDS_Filter->m_pAll); } |