Skip to content
Snippets Groups Projects
Commit 1364f933 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Declare blend() as inline to eliminate gcc warning

warning: always_inline function might not be inlinable [-Wattributes]
parent b7c1aef0
No related branches found
No related tags found
No related merge requests found
...@@ -728,7 +728,7 @@ static ...@@ -728,7 +728,7 @@ static
#ifndef _MSC_VER #ifndef _MSC_VER
__attribute__((always_inline)) __attribute__((always_inline))
#endif #endif
uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight) inline uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight)
{ {
uint8_t yuv1[4]; uint8_t yuv1[4];
uint8_t yuv2[4]; uint8_t yuv2[4];
......
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