mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-24 08:41:57 +08:00
avdevice/dshow: Initialize 2 pointers
Coverity claims these are used uninitilaized in CID1598561 Uninitialized pointer write and CID1598565 Uninitialized pointer write Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 43cde54fc14bc4644374b4736b2b7fff05359171) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@ -898,8 +898,8 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
|
||||
|
||||
if (devtype == VideoDevice) {
|
||||
VIDEO_STREAM_CONFIG_CAPS *vcaps = caps;
|
||||
BITMAPINFOHEADER *bih;
|
||||
int64_t *fr;
|
||||
BITMAPINFOHEADER *bih = NULL;
|
||||
int64_t *fr = NULL;
|
||||
#if DSHOWDEBUG
|
||||
ff_print_VIDEO_STREAM_CONFIG_CAPS(vcaps);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user