]> git.sesse.net Git - mlt/commit
Fix audio distortion in float -> int32 conversion.
authorDan Dennedy <dan@dennedy.org>
Wed, 6 Nov 2013 03:25:50 +0000 (19:25 -0800)
committerDan Dennedy <dan@dennedy.org>
Wed, 6 Nov 2013 03:26:00 +0000 (19:26 -0800)
commit5ecf86208e7cd593fb1038e09d45c0fa3eec4b42
tree73895411400c6750f9dc6962dc36e0e9abe54b87
parenta1c0987f26ed2c7671eceb903b99324c25d600b8
Fix audio distortion in float -> int32 conversion.

This was noticeable when using sox filter and become prominant when
libavcodec introduced per-codec audio sample formats.
Also, add CLAMP to make code more readable.
src/modules/core/filter_audioconvert.c