OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e6478b
)
lavf/matroskaenc: fix uninitialized read
author
Rodger Combs
<rodger.combs@gmail.com>
Thu, 27 Oct 2016 06:09:23 +0000
(
01:09
-0500)
committer
Rodger Combs
<rodger.combs@gmail.com>
Wed, 2 Nov 2016 06:16:26 +0000
(
01:16
-0500)
libavformat/matroskaenc.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskaenc.c
b/libavformat/matroskaenc.c
index
5704119
..
56174ff
100644
(file)
--- a/
libavformat/matroskaenc.c
+++ b/
libavformat/matroskaenc.c
@@
-1547,7
+1547,7
@@
static int mkv_write_attachments(AVFormatContext *s)
mkv->attachments = av_mallocz(sizeof(*mkv->attachments));
if (!mkv->attachments)
- return
ret
;
+ return
AVERROR(ENOMEM)
;
av_lfg_init(&c, av_get_random_seed());