comparison common.h @ 513:8c5bd100bb30 libavutil

Macro suggested by Michael which will be used to disable the definition of long_name strings in libavcodec and libavformat. Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
author takis
date Sun, 01 Jun 2008 07:37:43 +0000
parents b35354bd6b57
children 80cd26ba5c7c
comparison
equal deleted inserted replaced
512:3ac9085839f0 513:8c5bd100bb30
385 #else 385 #else
386 #define START_TIMER 386 #define START_TIMER
387 #define STOP_TIMER(id) {} 387 #define STOP_TIMER(id) {}
388 #endif 388 #endif
389 389
390 /**
391 * Returns NULL if CONFIG_SMALL is defined otherwise the argument
392 * without modifications, used to disable the definition of strings
393 * (for example AVCodec long_names).
394 */
395 #ifdef CONFIG_SMALL
396 # define NULL_IF_CONFIG_SMALL(x) NULL
397 #else
398 # define NULL_IF_CONFIG_SMALL(x) x
399 #endif
400
390 #endif /* FFMPEG_COMMON_H */ 401 #endif /* FFMPEG_COMMON_H */