diff options
author | Måns Rullgård <mans@mansr.com> | 2010-01-27 17:38:53 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-01-27 17:38:53 +0000 |
commit | 87fec35d8d64a138adae485796fb00b0b365934b (patch) | |
tree | cbdfca435006d48cb886ac5beba826c67abccd89 /libavutil/avutil.h | |
parent | 9f72b23c5c4543aa94708b4a04702afdc840c123 (diff) | |
download | ffmpeg-streaming-87fec35d8d64a138adae485796fb00b0b365934b.zip ffmpeg-streaming-87fec35d8d64a138adae485796fb00b0b365934b.tar.gz |
Add macro AV_JOIN() for joining two tokens into one
Originally committed as revision 21482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/avutil.h')
-rw-r--r-- | libavutil/avutil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h index a3cc93f..01067e7 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -29,6 +29,10 @@ #define AV_STRINGIFY(s) AV_TOSTRING(s) #define AV_TOSTRING(s) #s + +#define AV_GLUE(a, b) a ## b +#define AV_JOIN(a, b) AV_GLUE(a, b) + #define AV_PRAGMA(s) _Pragma(#s) #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) |