Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix audio decoding following FFmpeg resync
We can't assume that decoded data is on a single plane. Also, we do need to allocate 4 times the maximum audio buffer as potentially data could grow by a factor of 4 (uint8_t -> float) An error was introduced for passthrough audio ; would have affected mythtranscode with passthrough enabled. Potentially, audio buffer wouldn't have been 16 bytes aligned.
- Loading branch information
Showing
2 changed files
with
52 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters