blob: 1e05d99dc070764b6403f90443806af1018c9a58 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
- workaround for https://github.com/fraunhoferhhi/vvdec/issues/170
--- source/Lib/vvdec/vvdecimpl.h.orig 2024-03-13 17:45:41 UTC
+++ source/Lib/vvdec/vvdecimpl.h
@@ -225,7 +225,7 @@ inline auto VVDecImpl::catchExceptions( MembFunc fn, A
static auto returnErrOrNullptr = []( intptr_t err )
{
if( std::is_pointer<TRet>() )
- return (TRet) NULL;
+ return (TRet) 0;
return (TRet) err;
};
|