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:
ad28fe3
)
avutil/opt: initialize ret
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 20 Oct 2013 16:38:48 +0000
(18:38 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 20 Oct 2013 16:38:48 +0000
(18:38 +0200)
Fixes CID1108610
Fixes use of uninitialized variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/opt.c
patch
|
blob
|
history
diff --git
a/libavutil/opt.c
b/libavutil/opt.c
index
5dd84e4
..
a367dbb
100644
(file)
--- a/
libavutil/opt.c
+++ b/
libavutil/opt.c
@@
-254,7
+254,7
@@
int av_set_string3(void *obj, const char *name, const char *val, int alloc, cons
int av_opt_set(void *obj, const char *name, const char *val, int search_flags)
{
- int ret;
+ int ret
= 0
;
void *dst, *target_obj;
const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
if (!o || !target_obj)