1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

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:
Michael Niedermayer 2021-03-15 09:47:43 +01:00
parent bc4a1f63fb
commit 8adb20d3de

View File

@ -166,6 +166,8 @@
}\
}
#define FF_PTR_ADD(ptr, off) ((off) ? (ptr) + (off) : (ptr))
#include "libm.h"
/**