avformat/matroskaenc: Adapt documentation of put_ebml_num
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 1 Jan 2020 00:58:21 +0000 (01:58 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Jan 2020 15:38:28 +0000 (16:38 +0100)
commit2968da7d9e9054e97597c6b7b7b42e9ea453563e
tree435176930cd22b43f5e687eeb68241c8e37fe3e1
parent6d354aeb29d257ae64ad6a055d210dd6b191d5bc
avformat/matroskaenc: Adapt documentation of put_ebml_num

to its actual behaviour: That it uses the least amount of bytes unless
overridden.

The current documentation leaves it undefined how many bytes will be used
when no number to use has been given explicitly. But several estimates
(used to write EBML Master elements with a small length field) require
this number to be the least amount of bytes to work. Therefore change
the documentation; and remove a comment about writing length fields
indicating "unkown length". It has been outdated since 0580a122.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/matroskaenc.c