Rémi Denis-Courmont
8b3ebbbb2a
m4: fix false negative working iconv test
Part of the test is leaking memory, which can trip the leak sanitizer.
(This should be fixed in gettext. In the mean time, it will need to be
applied manually at every gettext update.)
9 years ago
Rémi Denis-Courmont
a1c3e136c4
Drop broken C99 support
9 years ago
Rémi Denis-Courmont
b97304c176
file logger: do not disable buffering
9 years ago
Francois Cartegnie
3fa85e6a2b
access: live555: define and set pcr offset
tries to have a pcr delay between 250ms and 500ms
9 years ago
Thomas Guillem
fd09bcfd9b
mmdevice: fix assert/UB when changing volume without any devices
If there is no audio devices, Open() will succeed but MMSession() will fail.
Then, MMThread() will wait for any events in order to call MMSession() again.
In that case, don't try to call MMsession() without a valid device when volume
or mute is changed from the user.
9 years ago
Thomas Guillem
849fe10267
direct3d9: glconv: use visible size
This fixes the usual green line issue...
9 years ago
Thomas Guillem
6068eb0364
direct3d9: glconv: use a render target
This fixes StrecthRect errors with 4K samples.
9 years ago
Thomas Guillem
421b81db86
contribs: use libplacebo on Windows
9 years ago
Steve Lhomme
64e17c521d
demux: move the xiph metadata handling common code in a static library
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
32d236c626
deinterlace: move the common code between modules in a static library
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
65e339de67
avcodec: move the common code between ffmpeg modules in a static library
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Thomas Guillem
ff6938db7b
date_Increment: add assert
9 years ago
Thomas Guillem
ba6b88f01d
a52: fix FPE when fmt_out.i_rate is already initialized
If fmt_out.i_rate is already set to a good value from Open(), date_Init() is
not called and date_Increment() triggers a FPE.
This is a regression from 31a4ceafbc
9 years ago
Steve Lhomme
39e7d2b0a3
demux:mkv: delete the Dummy we don't want after we have skipped it in the reader
Should fix #18001 again
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
afdbb2799d
demux:mkv: don't read further than our parent or its parent
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
9b3e23e928
demux:mkv: when finished reading position the reader at the end of the data we read
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
d535613587
demux:mkv: do not try to use p_prev if it's already free'd
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
dc6e8ce36c
Revert "mkv/demux: Ebml_Parser: fix #18001 (memory-leak)"
This reverts commit 37fdb03acd .
This is not the right level to decide if you can free the previous element, you
need at least to respect the "Keep" status.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
b26e21f666
demux:mkv: put the lighter tests first
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
8467e19d1e
demux:mkv: simplify the code
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Pierre Lamot
73dfee41cd
qt: fix autoresize on windows
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Rémi Denis-Courmont
a6a805f194
block: limit alloc size to 128MB
Fuzzers don´t like large allocations. And in fact, real systems don´t
really like them either.
Modified-by: Thomas Guillem <thomas@gllm.fr>:
Changed the value from (size >> 24) to (size >> 27) (from 16 MB to 128MB).
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
9 years ago
Marvin Scholz
92aaef9ae7
win32: Fix makensis calls
9 years ago
Jean-Baptiste Kempf
5b22c02fa3
win32 build.sh: avoid bash-specific syntax
9 years ago
Rémi Denis-Courmont
1bdc3729d0
mp4: do not assume demux has an input
9 years ago
Rémi Denis-Courmont
b696875781
directory: do not assume demux has an input
9 years ago
Jean-Baptiste Kempf
279db9d8f2
Win32 build: fix script options
9 years ago
Thomas Guillem
be38fffaa1
vout/opengl: fix use-after-free
9 years ago
Thomas Guillem
90e8bf9f79
vout/opengl: fix NULL dereference if pl_context_create fails
9 years ago
Jean-Baptiste Kempf
544b09e649
win32 build: provide an option for installer creation
* nothing will be for dev and continuous
* -i n to prepare a nightly build, aka debug+release package
* -i r to prepare a release build, which will be officially signed
9 years ago
Thomas Guillem
b6bbde6666
direct3d9: add OpenGL interop using WGL_NV_DX_interop ext
See https://www.khronos.org/registry/OpenGL/extensions/NV/WGL_NV_DX_interop.txt
9 years ago
Thomas Guillem
1d68b84bc8
wgl: add getExtensionsString callback
9 years ago
Thomas Guillem
37251c6902
direct3d9: refactor device creation
9 years ago
Thomas Guillem
172414bafc
direct3d9: add hwnd in d3dctx
9 years ago
Thomas Guillem
a84e5591ea
direct3d9: refactor Direct3D9CreatePicturePool
9 years ago
Thomas Guillem
1246ef73d0
direct3d9: refactor context create/destroy
9 years ago
Thomas Guillem
49db448c7e
direct3d9: refactor, use a struct to hold d3d ctx
9 years ago
Thomas Guillem
4b365462d1
fourcc: add d3d* fallbacks
9 years ago
Jean-Baptiste Kempf
4608791530
configure: use stack-protector-strong in optimized mode
If it is available with your compiler (gcc 4.9)
9 years ago
Hugo Beauzée-Luyssen
e8907f2e32
packetizer: flac: Remove invalid es_format_Clean
This is the core's responsibility
9 years ago
Hugo Beauzée-Luyssen
be6c18f7c6
packetizer: avparser: Remove invalid es_format_Clean
This is the core's responsibility
9 years ago
Hugo Beauzée-Luyssen
5134180d08
packetizer: copy: Remove invalid es_format_Clean
This is the core's responsibility
9 years ago
Hugo Beauzée-Luyssen
9dbe39da27
test: Add vlc-demux(-dec)-run to default targets
(when building with libfuzzer)
9 years ago
Hugo Beauzée-Luyssen
15e5a7a66a
mkv: Fix leak on error
9 years ago
Thomas Guillem
71eb04d922
es_format: fix rare double free
It could happen when i_extra was 0 but p_extra was not NULL (since malloc(0)
can return a valid pointer).
9 years ago
Thomas Guillem
24c731a896
test: input: fix test_decoder_destroy
Behave like the one in the core:
- clean decoder->p_description
- clean fmt_out only in case of success
9 years ago
Rémi Denis-Courmont
a0749ab920
objres: use add_overflow()
9 years ago
Rémi Denis-Courmont
b372a4430d
Use overflow built-ins also on clang
They were already available as of version 3.4.0.
9 years ago
Jean-Baptiste Kempf
a4f2b08c97
extra-tools: check for flex presence
9 years ago
Jean-Baptiste Kempf
9e1c8ae259
extras-tools: add flex
9 years ago