avformat/matroskaenc: Slightly improve size bounds for cues
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 19 Apr 2019 23:40:58 +0000 (01:40 +0200)
committerJames Almer <jamrial@gmail.com>
Wed, 8 May 2019 16:02:28 +0000 (13:02 -0300)
commit5d7d0fcd70b9d50f093df6f42f9124be55895575
tree7252fbea69c3ba732803e262ef4f8b8e4949876b
parent8b7964f8f83edeb8296086470123050b3546d213
avformat/matroskaenc: Slightly improve size bounds for cues

The upper bounds currently used for determining the size of a CuePoint's
length field can be improved somewhat; as a result, a CuePoint
containing three CueTrackPositions will now only need a size field
with one byte length.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/matroskaenc.c