diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2015-03-23 19:14:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-25 18:02:54 +0100 |
commit | 0d7ee2b014db4f5072ac17839d0c7f3535c60675 (patch) | |
tree | 6c25292077d5b4d2915f3f94aa6fa8942ad3f833 /src/neighbor/plugins/UpnpNeighborPlugin.hxx | |
parent | 2f5fd91bd8cb11ce064b4002c1ed47dd7fb0d6f6 (diff) | |
download | mpd-0d7ee2b014db4f5072ac17839d0c7f3535c60675.tar.gz mpd-0d7ee2b014db4f5072ac17839d0c7f3535c60675.tar.xz mpd-0d7ee2b014db4f5072ac17839d0c7f3535c60675.zip |
OpusEncoderPlugin: initialise granulepos so we end up with sane values
Not initialising granulepos leads to it having arbitrary values in the
encoded stream including possibly negative values which are not valid
and confuse opusdec. Explicitly initialise opus_encoder::granulepos
to avoid that problem.
Diffstat (limited to 'src/neighbor/plugins/UpnpNeighborPlugin.hxx')
0 files changed, 0 insertions, 0 deletions