mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/apetag: tag values are unsigned
Fixes: UBSan runtime error Found-by: Clusterfuzz Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
e750dc9de6
commit
fac761dae9
@ -29,7 +29,7 @@
|
||||
#include "apetag.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define APE_TAG_FLAG_CONTAINS_HEADER (1 << 31)
|
||||
#define APE_TAG_FLAG_CONTAINS_HEADER (1U << 31)
|
||||
#define APE_TAG_FLAG_LACKS_FOOTER (1 << 30)
|
||||
#define APE_TAG_FLAG_IS_HEADER (1 << 29)
|
||||
#define APE_TAG_FLAG_IS_BINARY (1 << 1)
|
||||
|
Loading…
Reference in New Issue
Block a user