mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-10-19 09:53:18 +00: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 43cde54fc1
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2346076980
commit
c9d4fb32cf
1 changed files with 2 additions and 2 deletions
|
@ -897,8 +897,8 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
|
||||||
|
|
||||||
if (devtype == VideoDevice) {
|
if (devtype == VideoDevice) {
|
||||||
VIDEO_STREAM_CONFIG_CAPS *vcaps = caps;
|
VIDEO_STREAM_CONFIG_CAPS *vcaps = caps;
|
||||||
BITMAPINFOHEADER *bih;
|
BITMAPINFOHEADER *bih = NULL;
|
||||||
int64_t *fr;
|
int64_t *fr = NULL;
|
||||||
#if DSHOWDEBUG
|
#if DSHOWDEBUG
|
||||||
ff_print_VIDEO_STREAM_CONFIG_CAPS(vcaps);
|
ff_print_VIDEO_STREAM_CONFIG_CAPS(vcaps);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue