- 17 Feb, 2016 2 commits
-
-
Hugo Beauzée-Luyssen authored
-
Filip Roséen authored
I wrote a hackish script to locate instances where new can throw but where the original author has assumed that it will return nullptr when there is a memory allocation problem. In short, cases such as `ptr = new T; if (ptr) ...` has now been changed to `ptr = new (std::nothrow) T; if (ptr) ...`. Since a throwing `new` will always yield a non-nullptr pointer, code that follows similar patterns to the previous example are therefor redundant. Example (from modules/access/dshow/filter.cpp): *ppEnum = new CaptureEnumMediaTypes( p_input, p_pin, this ); if( *ppEnum == NULL ) return E_OUTOFMEMORY; // unreachable, new will never return NULL Fixed: *ppEnum = new (std::nothrow) CaptureEnumMediaTypes( p_input, p_pin, this ); if( *ppEnum == NULL ) return E_OUTOFMEMORY; Signed-off-by:
Hugo Beauzée-Luyssen <hugo@beauzee.fr>
-
- 16 Feb, 2016 3 commits
-
-
Jean-Baptiste Kempf authored
Close #15150
-
Sean McGovern authored
Close #16625 Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
Thomas Guillem authored
bins.patch is now enough.
-
- 15 Feb, 2016 11 commits
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Hugo Beauzée-Luyssen authored
cid #1352638
-
Hugo Beauzée-Luyssen authored
cid #1352639
-
Thomas Guillem authored
-
Thomas Guillem authored
-
Thomas Guillem authored
And don't do a strdup when it's not necessary
-
Hugo Beauzée-Luyssen authored
cid #1352643a
-
Hugo Beauzée-Luyssen authored
cid #1048920
-
Hugo Beauzée-Luyssen authored
cid #1251057
-
Hugo Beauzée-Luyssen authored
cid #1313788
-
- 14 Feb, 2016 6 commits
-
-
François Cartegnie authored
sstream doing broken conversion for a while. And I still don't know why some ppl including me have that problem requiring to setlocale on iostream :/
-
Jean-Baptiste Kempf authored
-
Jean-Baptiste Kempf authored
-
Jean-Baptiste Kempf authored
-
Jean-Baptiste Kempf authored
-
Vikram Fugro authored
- Appropriately treat warnings as errors wherever needed - Remove unnecessary warnings - Fix comments in few places Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
- 13 Feb, 2016 10 commits
-
-
Thomas Guillem authored
-
François Cartegnie authored
-
François Cartegnie authored
-
François Cartegnie authored
because we need to ignore extension id
-
François Cartegnie authored
-
François Cartegnie authored
-
François Cartegnie authored
allows updating existing entries through merge
-
François Cartegnie authored
-
François Cartegnie authored
-
François Cartegnie authored
-
- 12 Feb, 2016 8 commits
-
-
Thomas Guillem authored
It's now unused.
-
Thomas Guillem authored
-
Steve Lhomme authored
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
Steve Lhomme authored
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
Marvin Scholz authored
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
Steve Lhomme authored
-- has the advantage of building on mingw without a patch deprecates https://patches.videolan.org/patch/12210/Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
Steve Lhomme authored
-- deprecates https://patches.videolan.org/patch/12214/Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
Steve Lhomme authored
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-