Browse Source

dshow: initialize variable to prevent releasing random data

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
tags/n0.9
Ramiro Polla Stefano Sabatini 13 years ago
parent
commit
d0da310317
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavdevice/dshow.c

+ 1
- 1
libavdevice/dshow.c View File

@@ -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