[FFmpeg-devel] [PATCH 2/2] avutil/atomic: reuse ret to avoid dereferencing twice the same value.

Michael Niedermayer michaelni at gmx.at
Tue May 27 04:18:30 CEST 2014


On Mon, May 26, 2014 at 09:18:59PM +0200, Clément Bœsch wrote:
> ---
> Shouldn't change anything since ptr access is locked with the mutex, but code
> looks more obvious that way to me. Maybe I'm wrong...
> ---
>  libavutil/atomic.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140527/c6799f54/attachment.asc>


More information about the ffmpeg-devel mailing list