avcodec/movtextdec: Switch to smaller type
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Wed, 8 Dec 2021 20:08:58 +0000 (21:08 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sat, 11 Dec 2021 14:56:10 +0000 (15:56 +0100)
commitcd693c9ec8a83eca7c5e79c454a451c7936749c5
tree7fff8c1885daea05db02a6045fc6e87f0482073a
parentf176669a374c16d45bb0b8464de3b8a73f791e2d
avcodec/movtextdec: Switch to smaller type

The base size of a box refers to the size the box has in a file,
not in memory; so size_t is not their natural type. Therefore use
a plain unsigned which is smaller on 64bit systems and still big
enough to represent any conceivable base size.

Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/movtextdec.c