avformat/matroskaenc: fix MAX_CUEPOINT_SIZE calculation
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Aug 2014 02:49:09 +0000 (04:49 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2014 20:40:50 +0000 (22:40 +0200)
commited15be7519af8aa68bdf58ccdf39915b560d11a2
treec559a923f1fc0ce51b0dbe6cfd4ba4ee600a320a
parent69281934935e0b93e20fa905c1cdbc5a1b24fd2a
avformat/matroskaenc: fix MAX_CUEPOINT_SIZE calculation

Fixes assertion failure
Fixes Ticket3822

as a side-effect this makes some mkv files a few bytes smaller

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 64d029de41ed556b765df50c7080b06fd5a86417)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskaenc.c
tests/ref/lavf/mkv