opus: always sync i_buffer with i_nb_samples (fixes #10135)
authorTristan Matthews <le.businessman@gmail.com>
Thu, 9 Jan 2014 06:28:47 +0000 (01:28 -0500)
committerTristan Matthews <le.businessman@gmail.com>
Thu, 9 Jan 2014 06:32:49 +0000 (01:32 -0500)
commitf88f91467700484a65d6c5abf0a71cfc4a209320
tree7e51cb402e658bc2affd67d1abd97c854a95deee
parentd1ee4337bf463521b8b0ba5eda49eec174c52439
opus: always sync i_buffer with i_nb_samples (fixes #10135)

Specifically, the crash at the end of playback was happening when end trim was
not being subtracted from i_buffer.
modules/codec/opus.c