aboutsummaryrefslogtreecommitdiffstats
path: root/src/AudioFormat.cxx
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2015-03-23 19:14:54 +0100
committerMax Kellermann <max@duempel.org>2015-03-25 18:02:54 +0100
commit0d7ee2b014db4f5072ac17839d0c7f3535c60675 (patch)
tree6c25292077d5b4d2915f3f94aa6fa8942ad3f833 /src/AudioFormat.cxx
parent2f5fd91bd8cb11ce064b4002c1ed47dd7fb0d6f6 (diff)
downloadmpd-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/AudioFormat.cxx')
0 files changed, 0 insertions, 0 deletions