avformat/movenc: support Opus packets with more than 60ms of audio when writing the...
authorJames Almer <jamrial@gmail.com>
Thu, 23 Aug 2018 20:48:58 +0000 (17:48 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 24 Aug 2018 16:21:10 +0000 (13:21 -0300)
commit7890181d7e76a74fdb7a50785fc4178ed8491171
treef30da6b5fd2e8a7a78bcd1b939e2300ae2ae2777
parent3d2cf50ebbe2cd1b825737b9c1cf9e19de628668
avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description

Since libopus 1.2, packets of sizes 80ms, 100ms and 120ms are allowed.

Fixes assertion failures when trying to mux such streams.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/movenc.c