mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-04 22:30:25 +00:00
mxfdec: Fix comparison of unsigned expression < 0.
'size' is populated by functions returning int64_t and int that return negative error codes.
This commit is contained in:
parent
3110ad8329
commit
735e601be1
@ -251,7 +251,7 @@ static int mxf_decrypt_triplet(AVFormatContext *s, AVPacket *pkt, KLVPacket *klv
|
||||
MXFContext *mxf = s->priv_data;
|
||||
AVIOContext *pb = s->pb;
|
||||
int64_t end = avio_tell(pb) + klv->length;
|
||||
uint64_t size;
|
||||
int64_t size;
|
||||
uint64_t orig_size;
|
||||
uint64_t plaintext_size;
|
||||
uint8_t ivec[16];
|
||||
|
Loading…
Reference in New Issue
Block a user