Message ID | 20180426124736.49904-2-daniel@danieloberhoff.de |
---|---|
State | New |
Headers | show |
Daniel Oberhoff (2018-04-26): > --- > include/ffnvcodec/dynlink_loader.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) I may be missing something obvious, but I am not seeing this file in our repository. Regards,
> On 26. Apr 2018, at 14:49, Nicolas George <george@nsup.org> wrote: > > Daniel Oberhoff (2018-04-26): >> --- >> include/ffnvcodec/dynlink_loader.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > I may be missing something obvious, but I am not seeing this file in our > repository. sorry, its from the nv-codec-headers repo. Should have stated that in the subject. Is this not the right list for patches there? Daniel
On Thu, 26 Apr 2018 14:51:09 +0200 Daniel Oberhoff <danieloberhoff@googlemail.com> wrote: > > On 26. Apr 2018, at 14:49, Nicolas George <george@nsup.org> wrote: > > > > Daniel Oberhoff (2018-04-26): > >> --- > >> include/ffnvcodec/dynlink_loader.h | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > > > > I may be missing something obvious, but I am not seeing this file in our > > repository. > > sorry, its from the nv-codec-headers repo. Should have stated that in the subject. Is this not the right list for patches there? The repository is a ffmpeg project, so this is the right place.
On 26.04.2018 14:47, Daniel Oberhoff wrote: > --- > include/ffnvcodec/dynlink_loader.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/ffnvcodec/dynlink_loader.h b/include/ffnvcodec/dynlink_loader.h > index 352a0c8..3b0a284 100644 > --- a/include/ffnvcodec/dynlink_loader.h > +++ b/include/ffnvcodec/dynlink_loader.h > @@ -114,7 +114,7 @@ > \ > n##_free_functions(functions); \ > \ > - f = *functions = calloc(1, sizeof(*f)); \ > + f = *functions = (T*)calloc(1, sizeof(*f)); \ > if (!f) \ > return -1; \ > \ applied
diff --git a/include/ffnvcodec/dynlink_loader.h b/include/ffnvcodec/dynlink_loader.h index 352a0c8..3b0a284 100644 --- a/include/ffnvcodec/dynlink_loader.h +++ b/include/ffnvcodec/dynlink_loader.h @@ -114,7 +114,7 @@ \ n##_free_functions(functions); \ \ - f = *functions = calloc(1, sizeof(*f)); \ + f = *functions = (T*)calloc(1, sizeof(*f)); \ if (!f) \ return -1; \ \