Re: lame 3.101 beta 1 in SVN...
Alexander Leidinger via Lame-dev <[email protected]> Tue, 16 Mar 2021 13:03:34 +0100
| Newsgroups | gmane.comp.audio.mp3.lame |
|---|---|
| Message-ID | <20210316130334.Horde.NQ7PebScTgC-pocrJXJOI30@webmail.leidinger.net> |
Quoting Elio Blanca via Lame-dev <[email protected]> (from Thu, 11 Mar 2021 17:07:21 +0100): > Hello, > > Il giorno Thu, 11 Mar 2021 16:30:20 +0100 > Fabian Greffrath via Lame-dev <[email protected]> ha > scritto: > >> Has anyone >> ever had a look at >> these? > > No, but I work on ARM processors every day. > Now, if I needed to copy a struct and 'struct-float-copy.patch' > suggested me to replace a "=" with a clean, safe "memcpy", then I would > blindly say YES INDEED. Using = is supposed to work... I only find sites which tell that it shall work, e.g. http://blog.zhangliaoyuan.com/blog/2013/01/28/structure-assignment-and-its-pitfall-in-C-language/ So what is wrong here with the '=' and why is it better solved with a memcpy? Bye, Alexander. -- http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org [email protected] : PGP 0x8F31830F9F2772BF