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:
ee4ed80
)
dshow: initialize variable to prevent releasing random data
author
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 9 Sep 2011 03:10:22 +0000
(
00:10
-0300)
committer
Stefano Sabatini
<stefasab@gmail.com>
Fri, 16 Sep 2011 09:02:26 +0000
(11:02 +0200)
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
libavdevice/dshow.c
patch
|
blob
|
history
diff --git
a/libavdevice/dshow.c
b/libavdevice/dshow.c
index
2ef313f
..
fe60b9f
100644
(file)
--- a/
libavdevice/dshow.c
+++ b/
libavdevice/dshow.c
@@
-320,7
+320,7
@@
dshow_cycle_pins(AVFormatContext *avctx, enum dshowDeviceType devtype,
while (IEnumPins_Next(pins, 1, &pin, NULL) == S_OK && !device_pin) {
IKsPropertySet *p = NULL;
- IEnumMediaTypes *types;
+ IEnumMediaTypes *types
= NULL
;
PIN_INFO info = {0};
AM_MEDIA_TYPE *type;
GUID category;