mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
move NULL_IF_CONFIG_SMALL() definition into internal header
Originally committed as revision 16619 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2f5421d513
commit
d80a7fe50a
2 changed files with 11 additions and 11 deletions
|
|
@ -323,15 +323,4 @@ static inline av_pure int ff_get_fourcc(const char *s){
|
|||
}\
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns NULL if CONFIG_SMALL is true otherwise the argument
|
||||
* without modifications, used to disable the definition of strings
|
||||
* (for example AVCodec long_names).
|
||||
*/
|
||||
#if CONFIG_SMALL
|
||||
# define NULL_IF_CONFIG_SMALL(x) NULL
|
||||
#else
|
||||
# define NULL_IF_CONFIG_SMALL(x) x
|
||||
#endif
|
||||
|
||||
#endif /* AVUTIL_COMMON_H */
|
||||
|
|
|
|||
|
|
@ -302,4 +302,15 @@ static av_always_inline av_const float truncf(float x)
|
|||
}
|
||||
#endif /* HAVE_TRUNCF */
|
||||
|
||||
/**
|
||||
* Returns NULL if CONFIG_SMALL is true otherwise the argument
|
||||
* without modifications, used to disable the definition of strings
|
||||
* (for example AVCodec long_names).
|
||||
*/
|
||||
#if CONFIG_SMALL
|
||||
# define NULL_IF_CONFIG_SMALL(x) NULL
|
||||
#else
|
||||
# define NULL_IF_CONFIG_SMALL(x) x
|
||||
#endif
|
||||
|
||||
#endif /* AVUTIL_INTERNAL_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue