avdevice/dshow: Remove unneeded NULL checks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/101/head
Michael Niedermayer 10 years ago
parent a3f6e8c4d9
commit 9c3a8693a2
  1. 2
      libavdevice/dshow.c

@ -294,7 +294,6 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
}
fail1:
if (buf)
av_free(buf);
if (bag)
IPropertyBag_Release(bag);
@ -458,7 +457,6 @@ next:
}
end:
IAMStreamConfig_Release(config);
if (caps)
av_free(caps);
if (pformat_set)
*pformat_set = format_set;

Loading…
Cancel
Save