mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
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>
This commit is contained in:
parent
f176669a37
commit
cd693c9ec8
@ -111,7 +111,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
uint32_t type;
|
||||
size_t base_size;
|
||||
unsigned base_size;
|
||||
int (*decode)(const uint8_t *tsmb, MovTextContext *m, const AVPacket *avpkt);
|
||||
} Box;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user