projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3110ad8
)
mxfdec: Fix comparison of unsigned expression < 0.
author
Alex Converse
<alex.converse@gmail.com>
Mon, 7 Nov 2011 18:14:54 +0000
(10:14 -0800)
committer
Alex Converse
<alex.converse@gmail.com>
Tue, 8 Nov 2011 18:59:52 +0000
(10:59 -0800)
'size' is populated by functions returning int64_t and int that return
negative error codes.
libavformat/mxfdec.c
patch
|
blob
|
history
diff --git
a/libavformat/mxfdec.c
b/libavformat/mxfdec.c
index
c038658
..
95699a6
100644
(file)
--- a/
libavformat/mxfdec.c
+++ b/
libavformat/mxfdec.c
@@
-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;
-
u
int64_t size;
+ int64_t size;
uint64_t orig_size;
uint64_t plaintext_size;
uint8_t ivec[16];