opus: Buffer the samples from the correct offset
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Oct 2015 12:47:12 +0000 (13:47 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 28 Oct 2015 15:59:57 +0000 (16:59 +0100)
commit6dcd82290438eb810936de4febd0558b38a08ec5
tree965c54d3c0f79ad93090ca4ecc71d94c04cc6a74
parentf3aff31e5f66a4f1c4e34ce4944f4a402aca61ed
opus: Buffer the samples from the correct offset

When not all the opus stream have the same amount of decoded samples
process the least amount and store what is left from the other streams.

Bug-Id: 909
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/opusdec.c