Permalink
Browse files

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

Stupid typo
  • Loading branch information...
1 parent 375e78c commit 8adf652422c59ec7c632219982576829852258f2 @jyavenard jyavenard committed Feb 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/audio/audiooutputbase.cpp
@@ -1201,7 +1201,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 8adf652

Please sign in to comment.