Search found 4 matches

Go to advanced search

by aleksas
15 May 2020 13:49
Forum: Development around libVLC
Topic: vlc filter plugin integer parameter overflow
Replies: 5
Views: 505

Re: vlc filter plugin integer parameter overflow

The work around I use is to combine two long values into 64bit void *. Is there a better solution?
by aleksas
14 May 2020 14:52
Forum: Development around libVLC
Topic: vlc filter plugin integer parameter overflow
Replies: 5
Views: 505

Re: vlc filter plugin integer parameter overflow

The range is INT64_MIN to INT64_MAX. That is what I would expect, but.. Repeated experiment shows different result: On code controlling libvlc side: int64_t testvalue = 0x00000000FFFFFFFF; sprintf(sandbox_options, "sandboxfilter{testvalue=%lld}", testvalue); gives: "sandboxfilter{tes...
by aleksas
13 May 2020 15:43
Forum: Development around libVLC
Topic: vlc filter plugin integer parameter overflow
Replies: 5
Views: 505

Re: vlc filter plugin integer parameter overflow

UPDATE

Tried to use `_Atomic_address` together with `var_CreateGetAddress` function instead of `atomic_int` but the result is the same.

OS: Windows 10
VLC: 3.0.10

[url=https://stackoverflow.com/questions/61747918/vlc-filter-plugin-integer-parameter-overflow]Reposted[/url]
by aleksas
11 May 2020 15:43
Forum: Development around libVLC
Topic: vlc filter plugin integer parameter overflow
Replies: 5
Views: 505

vlc filter plugin integer parameter overflow

I'm trying to pass a 64 bit pointer to a data structure via plugin int parameter. From the plugin headers it looks that it deals with int64_t wich suggests that 64 bit pointer should not be a problem. But when i'm passing a pointer value, what i get inside filter plugin is int32 max value (2,147,483...

Go to advanced search