1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libavdevice
Michael Niedermayer 78d6d13bab
avdevice/xcbgrab: Check sscanf() return
Alot more input checking can be performed, this is only checking the obvious missing case

Fixes: CID1598562 Unchecked return value

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-06-12 00:39:11 +02:00
..
riscv riscv: probe for Zbb extension at load time 2024-06-11 20:12:37 +03:00
tests
.gitignore
alldevices.c avdevice/alldevices: Mark iterators as av_cold 2024-03-17 15:10:05 +01:00
alsa_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
alsa_enc.c avutil: remove deprecated FF_API_PKT_DURATION 2024-03-07 08:53:30 -03:00
alsa.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
alsa.h avdevice/alsa_dec: make sure we have enough data in non-blocking mode 2021-03-12 23:55:30 +01:00
android_camera.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
audiotoolbox.m avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
avdevice.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
avdevice.h avdevice: remove FF_API_DEVICE_CAPABILITIES 2023-02-09 15:35:14 +01:00
avdeviceres.rc
avfoundation.m avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
bktr.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
caca.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
ccfifo.c avdevice/decklink_enc: add support for playout of 608 captions in MOV files 2023-05-11 22:06:20 +08:00
decklink_common_c.h avdevice/decklink_enc: add support for SMPTE 2038 VANC packet output 2023-07-02 19:57:45 +02:00
decklink_common.cpp avdevice/decklink_enc: add support for SMPTE 2038 VANC packet output 2023-07-02 19:57:45 +02:00
decklink_common.h avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
decklink_dec_c.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
decklink_dec.cpp avdevice/decklink_dec: add explicit specifier 2023-11-21 08:02:29 +08:00
decklink_dec.h avdevice/decklink_(common_c|dec|enc).h: Fix checkheaders 2022-02-21 13:09:48 +01:00
decklink_enc_c.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
decklink_enc.cpp avformat/vapoursynth: Add missing inclusion of frame.h 2023-09-10 17:32:11 +02:00
decklink_enc.h avdevice/decklink_(common_c|dec|enc).h: Fix checkheaders 2022-02-21 13:09:48 +01:00
dshow_capture.h configure: Set WIN32_LEAN_AND_MEAN at configure time 2023-08-14 22:57:28 +03:00
dshow_common.c
dshow_crossbar.c avdevice/dshow: tv_tuner_audio_dialog cleanup missing 2022-01-04 17:40:29 +05:30
dshow_enummediatypes.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
dshow_enumpins.c avdevice/dshow: fix crash on x86 2022-01-04 17:40:54 +05:30
dshow_filter.c avdevice/dshow: fix crash on x86 2022-01-04 17:40:54 +05:30
dshow_pin.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
dshow.c avdevice/dshow: fix badly indented line 2024-05-28 03:48:04 +02:00
fbdev_common.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
fbdev_common.h
fbdev_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
fbdev_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
file_open.c
gdigrab.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
iec61883.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
internal.h avformat: Constify the API wrt AV(In|Out)putFormat 2021-04-27 10:43:08 -03:00
jack.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
kmsgrab.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
lavfi.c avformat/internal: Move FF_FMT_INIT_CLEANUP to demux.h 2024-03-26 06:36:43 +01:00
libavdevice.v
libcdio.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
libdc1394.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
Makefile avdevice/decklink_enc: add support for playout of 608 captions in MOV files 2023-05-11 22:06:20 +08:00
openal-dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
opengl_enc_shaders.h
opengl_enc.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
oss_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
oss_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
oss.c avutil/internal: Move avpriv-file API to a header of its own 2022-09-03 15:41:44 +02:00
oss.h avdevice/oss_dec: account for sample size when computing timestamp 2022-06-19 23:01:20 +02:00
pulse_audio_common.c
pulse_audio_common.h avdevice/pulse_audio_common: Avoid inclusion of avcodec.h 2023-08-05 09:40:06 +02:00
pulse_audio_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
pulse_audio_enc.c avdevice/pulse_audio_enc: Use av_rescale() to avoid integer overflow 2024-06-01 18:01:05 +02:00
reverse.c
sdl2.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
sndio_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
sndio_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
sndio.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
sndio.h
timefilter.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
timefilter.h avdevice/timefilter: remove obsolete comments from the docs 2021-02-27 21:30:41 +01:00
utils.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
v4l2-common.c
v4l2-common.h avdevice/v4l2*: Improve included headers 2022-05-10 07:38:01 +02:00
v4l2.c lavd/v4l2: Use proper field type for second parameter of ioctl() with BSD's 2024-05-08 21:33:32 +02:00
v4l2enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
version_major.h libs: bump major version for all libraries 2024-03-07 11:29:43 -03:00
version.c lib*/version: Use static_assert for static asserts 2024-03-31 00:08:42 +01:00
version.h Bump after 7.0 branch point 2024-03-27 01:04:54 +01:00
vfwcap.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
xcbgrab.c avdevice/xcbgrab: Check sscanf() return 2024-06-12 00:39:11 +02:00
xv.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00