Permalink
Browse files

Fix issue that could occur when playing mono content upmixed to stereo.

Stupid typo

[cherry-picked from 8adf652]
  • Loading branch information...
1 parent 892628e commit b4b0fb3824231b9c6f208cb5bed499b8cc3a487e @jyavenard jyavenard committed Feb 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/audiooutputbase.cpp
View
2 mythtv/libs/libmyth/audiooutputbase.cpp
@@ -990,7 +990,7 @@ int AudioOutputBase::CopyWithUpmix(char *buffer, int frames, uint &org_waud)
{
AudioOutputUtil::MonoToStereo(WPOS, buffer, bdFrames);
frames -= bdFrames;
- off = bdFrames * bpf;
+ off = bdFrames * source_bytes_per_frame;
org_waud = 0;
}
if (frames > 0)

0 comments on commit b4b0fb3

Please sign in to comment.