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

Don't use expressions with side effects in macro parameters


AV_WB32 can be implemented as a macro that expands its parameters
multiple times (in case AV_HAVE_FAST_UNALIGNED isn't set and the
compiler doesn't support GCC attributes); make sure not to read
multiple times from the source in this case.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 7ebdffc3
No related branches found
No related tags found
No related merge requests found
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