Skip to content
Snippets Groups Projects
Commit 014773b6 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

libavutil: Use an intermediate variable in AV_COPY*U


If AV_RN and AV_WN are macros with multiple individual reads and
writes, the previous version of the AV_COPYU macro would fail if
the reads and writes overlap.

This should not be any less efficient in any case, given a
sensibly optimizing compiler.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 25bacd0a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment