ffmpeg/libavutil
James Almer dd5f665b40 avutil/frame: free the old side data buffer before replacing it
Fixes memleaks reported by ASAN/Valgrind.

Reported-by: Sean McGovern <gseanmcg@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2024-04-11 12:32:13 -03:00
..
aarch64 aarch64: Factorize code for CPU feature detection on Apple platforms 2024-04-10 10:39:08 +03:00
arm configure: Remove av_restrict 2024-03-15 12:51:15 +01:00
avr32
loongarch
mips configure: Remove av_restrict 2024-03-15 12:51:15 +01:00
ppc libavutil/ppc/cpu.c: check that AT_HWCAP2 is defined 2023-10-19 20:46:55 +02:00
riscv lavu/fixed_dsp: R-V V fmul_window_scaled 2023-11-23 18:57:18 +02:00
sh4
tests avutil/frame: add a flag to allow overwritting existing entries 2024-04-11 09:18:19 -03:00
x86 avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
.gitignore
Makefile avutil/timestamp: introduce av_ts_make_time_string2 for better precision 2024-03-25 21:30:51 +01:00
adler32.c
adler32.h
aes.c
aes.h
aes_ctr.c
aes_ctr.h
aes_internal.h
ambient_viewing_environment.c
ambient_viewing_environment.h
attributes.h
attributes_internal.h
audio_fifo.c avutil/audio_fifo: Constify some pointees 2023-09-12 09:20:13 +02:00
audio_fifo.h avutil/audio_fifo: Constify some pointees 2023-09-12 09:20:13 +02:00
avassert.h
avsscanf.c
avstring.c avutil/avstring: Use proper types 2024-03-10 13:51:37 +01:00
avstring.h avutil/avstring: Remove obsolete version.h inclusion 2023-09-07 00:48:50 +02:00
avutil.h avutil: remove deprecated FF_API_AV_FOPEN_UTF8 2024-03-07 08:53:30 -03:00
avutilres.rc
base64.c
base64.h
blowfish.c
blowfish.h
bprint.c
bprint.h fix "param"s that should be "@param" 2024-03-04 17:45:00 +01:00
bswap.h
buffer.c
buffer.h
buffer_internal.h
camellia.c
camellia.h
cast5.c
cast5.h
channel_layout.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
channel_layout.h avutil/channel_layout: fix some (un)initialization issues in av_channel_layout_from_string() 2024-03-16 19:49:39 +01:00
colorspace.h
common.h avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
cpu.c all: Don't use ATOMIC_VAR_INIT 2024-03-28 09:12:48 +01:00
cpu.h
cpu_internal.h
crc.c
crc.h
csp.c
csp.h
cuda_check.h
des.c
des.h
detection_bbox.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
detection_bbox.h
dict.c avutil/dict: Deduplicate freeing dictionary 2024-03-08 01:01:49 +01:00
dict.h
dict_internal.h
display.c
display.h
dovi_meta.c avutil/dovi_meta: add dolby vision extension blocks 2024-04-03 16:16:25 +02:00
dovi_meta.h avutil/dovi_meta: add dolby vision extension blocks 2024-04-03 16:16:25 +02:00
downmix_info.c
downmix_info.h
dynarray.h
emms.h avutil/internal: Don't auto-include emms.h 2023-09-04 11:04:45 +02:00
encryption_info.c avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
encryption_info.h
error.c
error.h
eval.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
eval.h apply spelling fixes 2023-11-18 19:55:42 +01:00
executor.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
executor.h avutil: add thread executor 2023-09-02 02:49:06 +02:00
ffmath.h
fifo.c avutil: remove deprecated FF_API_FIFO_OLD_API 2024-03-07 08:53:30 -03:00
fifo.h avutil/fifo, file: Remove unused headers 2024-03-27 17:07:22 +01:00
file.c avutil: remove deprecated FF_API_AV_FOPEN_UTF8 2024-03-07 08:53:30 -03:00
file.h avutil/fifo, file: Remove unused headers 2024-03-27 17:07:22 +01:00
file_open.c avutil: remove deprecated FF_API_AV_FOPEN_UTF8 2024-03-07 08:53:30 -03:00
file_open.h
film_grain_params.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
film_grain_params.h avutil/film_grain_params: add av_film_grain_params_select() 2024-03-23 18:55:15 +01:00
fixed_dsp.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
fixed_dsp.h configure: Remove av_restrict 2024-03-15 12:51:15 +01:00
float2half.c
float2half.h
float_dsp.c configure: Remove av_restrict 2024-03-15 12:51:15 +01:00
float_dsp.h configure: Remove av_restrict 2024-03-15 12:51:15 +01:00
frame.c avutil/frame: free the old side data buffer before replacing it 2024-04-11 12:32:13 -03:00
frame.h avutil/frame: add helper to remove side data of a given type from an array 2024-04-11 09:18:19 -03:00
getenv_utf8.h
half2float.c
half2float.h
hash.c avutil/hash: Avoid relocations for hash names 2024-03-18 01:48:46 +01:00
hash.h
hdr_dynamic_metadata.c
hdr_dynamic_metadata.h fix "@param foo[in/out]" to "@param[in, out] foo" 2024-03-04 17:45:12 +01:00
hdr_dynamic_vivid_metadata.c
hdr_dynamic_vivid_metadata.h
hmac.c avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
hmac.h
hwcontext.c avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals 2024-03-07 08:53:31 -03:00
hwcontext.h avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals 2024-03-07 08:53:31 -03:00
hwcontext_cuda.c avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals 2024-03-07 08:53:31 -03:00
hwcontext_cuda.h avutil/hwcontext_cuda: add option to use current device context 2023-09-28 19:23:51 +02:00
hwcontext_cuda_internal.h
hwcontext_d3d11va.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
hwcontext_d3d11va.h
hwcontext_d3d12va.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
hwcontext_d3d12va.h libavutil: add hwcontext_d3d12va and AV_PIX_FMT_D3D12 2023-12-21 16:15:23 +08:00
hwcontext_d3d12va_internal.h libavutil: add hwcontext_d3d12va and AV_PIX_FMT_D3D12 2023-12-21 16:15:23 +08:00
hwcontext_drm.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
hwcontext_drm.h
hwcontext_dxva2.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
hwcontext_dxva2.h
hwcontext_internal.h avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals 2024-03-07 08:53:31 -03:00
hwcontext_mediacodec.c
hwcontext_mediacodec.h
hwcontext_opencl.c avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals 2024-03-07 08:53:31 -03:00
hwcontext_opencl.h
hwcontext_qsv.c avutil/hwcontext_qsv: Fix mixed declaration and code 2024-03-25 13:22:41 +01:00
hwcontext_qsv.h
hwcontext_stub.c
hwcontext_vaapi.c avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals 2024-03-07 08:53:31 -03:00
hwcontext_vaapi.h
hwcontext_vdpau.c avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals 2024-03-07 08:53:31 -03:00
hwcontext_vdpau.h
hwcontext_videotoolbox.c avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals 2024-03-07 08:53:31 -03:00
hwcontext_videotoolbox.h avutil/hwcontext_videotoolbox: add frame hwctx to specify color range 2024-01-04 17:31:49 +08:00
hwcontext_vulkan.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
hwcontext_vulkan.h avutil/hwcontext_vulkan: Include hwcontext.h 2024-03-31 00:08:43 +01:00
iamf.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
iamf.h avutil/iamf: add some more doxy to structs 2024-01-15 18:16:07 -03:00
imgutils.c avutil/internal: Move avpriv_set_systematic_pal2 decl to imgutils_internal.h 2024-03-31 00:08:43 +01:00
imgutils.h avutil/imgutils: add new function av_image_fill_color() 2023-12-13 18:51:32 +01:00
imgutils_internal.h avutil/internal: Move avpriv_set_systematic_pal2 decl to imgutils_internal.h 2024-03-31 00:08:43 +01:00
integer.c
integer.h
internal.h avutil/internal: Move avpriv_set_systematic_pal2 decl to imgutils_internal.h 2024-03-31 00:08:43 +01:00
intfloat.h
intmath.c
intmath.h
intreadwrite.h avutil/intreadwrite: Remove obsolete warning 2024-02-20 00:09:05 +01:00
lfg.c
lfg.h
libavutil.v
libm.h
lls.c
lls.h
log.c lavu/log: do not assume AVClass.item_name is always set 2023-11-09 11:25:17 +01:00
log.h
log2_tab.c
lzo.c
lzo.h
macos_kperf.c
macos_kperf.h
macros.h
mastering_display_metadata.c avutil/mastering_display_metadata: add a new allocator function that returns a size 2024-04-11 11:46:18 -03:00
mastering_display_metadata.h avutil/mastering_display_metadata: add a new allocator function that returns a size 2024-04-11 11:46:18 -03:00
mathematics.c
mathematics.h
md5.c avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
md5.h
mem.c avutil/internal: Move FF_MEMORY_POISON to its only user 2024-03-31 00:08:43 +01:00
mem.h avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
mem_internal.h avutil/mem_internal: Remove unneeded headers 2024-03-01 01:35:42 +01:00
motion_vector.h
murmur3.c avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
murmur3.h
objc.h
opt.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
opt.h lavu/opt: add array options 2024-03-08 07:36:15 +01:00
parseutils.c
parseutils.h
pca.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
pca.h
pixdesc.c avutil/pix{desc,fmt}: add new matrix coefficients from H.273 v3 2024-04-03 21:31:35 +03:00
pixdesc.h avutil/pixdesc: add AV_PIX_FMT_FLAG_XYZ 2023-10-31 15:46:07 +01:00
pixelutils.c
pixelutils.h
pixfmt.h avutil/pix{desc,fmt}: add new matrix coefficients from H.273 v3 2024-04-03 21:31:35 +03:00
qsort.h
random_seed.c
random_seed.h
rational.c avutil/rational: increase av_d2q precision 2024-02-04 20:04:18 +01:00
rational.h avutil/rational: Document what is to be expected from av_d2q() of doubles representing rational numbers 2024-02-12 00:50:46 +01:00
rc4.c
rc4.h
replaygain.h
reverse.c
reverse.h
ripemd.c
ripemd.h
samplefmt.c avutil/samplefmt: Constify some pointees 2023-09-12 09:17:28 +02:00
samplefmt.h avutil/samplefmt: Constify some pointees 2023-09-12 09:17:28 +02:00
sfc64.h avutil/eval: Use even better PRNG 2024-01-16 01:34:57 +01:00
sha.c
sha.h
sha512.c
sha512.h
slicethread.c
slicethread.h
softfloat.h
softfloat_ieee754.h
softfloat_tables.h
spherical.c avutil/avstring: Remove obsolete version.h inclusion 2023-09-07 00:48:50 +02:00
spherical.h
stereo3d.c
stereo3d.h
tablegen.h
tea.c
tea.h
thread.h avutil/thread: fix pthread_setname_np parameters for NetBSD and Apple 2024-02-05 09:42:30 +01:00
threadmessage.c avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
threadmessage.h
time.c
time.h
time_internal.h
timecode.c avformat/timecode: use 64bit for intermediate for rounding in fps_from_frame_rate() 2024-03-26 23:25:38 +01:00
timecode.h libavutil/timecode: fix parameter order in documentation 2024-01-14 14:58:57 +01:00
timer.h
timestamp.c avutil/timestamp: introduce av_ts_make_time_string2 for better precision 2024-03-25 21:30:51 +01:00
timestamp.h avutil/timestamp: change precision of av_ts_make_time_string() 2024-03-25 21:30:51 +01:00
tree.c
tree.h
twofish.c
twofish.h
tx.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
tx.h lavu/tx: add DCT-I and DST-I transforms 2023-09-01 23:59:10 +02:00
tx_double.c
tx_float.c
tx_int32.c
tx_priv.h avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
tx_template.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
utils.c
uuid.c
uuid.h
version.c lib*/version: Use static_assert for static asserts 2024-03-31 00:08:42 +01:00
version.h avutil/mastering_display_metadata: add a new allocator function that returns a size 2024-04-11 11:46:18 -03:00
version_major.h
video_enc_params.c
video_enc_params.h avutil/video_enc_params: fix doxy for av_video_enc_params_block() 2023-10-30 10:30:05 -03:00
video_hint.c
video_hint.h
vulkan.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
vulkan.h avutil/vulkan: Remove unused ff_vk_set_descriptor_sampler() 2024-03-03 22:56:25 +01:00
vulkan_functions.h vulkan_av1: port to the new stable API 2024-03-25 08:54:40 +01:00
vulkan_loader.h vulkan_av1: port to the new stable API 2024-03-25 08:54:40 +01:00
wchar_filename.h avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
xga_font_data.c
xga_font_data.h
xtea.c
xtea.h