Commit d0da3103 authored by Ramiro Polla's avatar Ramiro Polla Committed by Stefano Sabatini

dshow: initialize variable to prevent releasing random data

Signed-off-by: 's avatarStefano Sabatini <stefasab@gmail.com>
parent ee4ed804
...@@ -320,7 +320,7 @@ dshow_cycle_pins(AVFormatContext *avctx, enum dshowDeviceType devtype, ...@@ -320,7 +320,7 @@ dshow_cycle_pins(AVFormatContext *avctx, enum dshowDeviceType devtype,
while (IEnumPins_Next(pins, 1, &pin, NULL) == S_OK && !device_pin) { while (IEnumPins_Next(pins, 1, &pin, NULL) == S_OK && !device_pin) {
IKsPropertySet *p = NULL; IKsPropertySet *p = NULL;
IEnumMediaTypes *types; IEnumMediaTypes *types = NULL;
PIN_INFO info = {0}; PIN_INFO info = {0};
AM_MEDIA_TYPE *type; AM_MEDIA_TYPE *type;
GUID category; GUID category;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment