dshow: initialize variable to prevent releasing random data

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
pull/2/head
Ramiro Polla 13 years ago committed by Stefano Sabatini
parent ee4ed80485
commit d0da310317
  1. 2
      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;

Loading…
Cancel
Save