mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
dshow: initialize variable to prevent releasing random data
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
This commit is contained in:
committed by
Stefano Sabatini
parent
ee4ed80485
commit
d0da310317
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user