Revision d80a7fe5

View differences:

libavutil/common.h
323 323
        }\
324 324
    }
325 325

  
326
/**
327
 * Returns NULL if CONFIG_SMALL is true otherwise the argument
328
 * without modifications, used to disable the definition of strings
329
 * (for example AVCodec long_names).
330
 */
331
#if CONFIG_SMALL
332
#   define NULL_IF_CONFIG_SMALL(x) NULL
333
#else
334
#   define NULL_IF_CONFIG_SMALL(x) x
335
#endif
336

  
337 326
#endif /* AVUTIL_COMMON_H */
libavutil/internal.h
302 302
}
303 303
#endif /* HAVE_TRUNCF */
304 304

  
305
/**
306
 * Returns NULL if CONFIG_SMALL is true otherwise the argument
307
 * without modifications, used to disable the definition of strings
308
 * (for example AVCodec long_names).
309
 */
310
#if CONFIG_SMALL
311
#   define NULL_IF_CONFIG_SMALL(x) NULL
312
#else
313
#   define NULL_IF_CONFIG_SMALL(x) x
314
#endif
315

  
305 316
#endif /* AVUTIL_INTERNAL_H */

Also available in: Unified diff