avutil/common: Add FF_PTR_ADD()
Suggested-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 522a5259e9cc17faf1f83c9cfb93c960a2ecf8a2) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ff66fe2363
commit
135b6f1e2c
@ -173,6 +173,8 @@
|
||||
}\
|
||||
}
|
||||
|
||||
#define FF_PTR_ADD(ptr, off) ((off) ? (ptr) + (off) : (ptr))
|
||||
|
||||
#include "libm.h"
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user