aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/intrax8dsp.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-09-19 22:30:06 +0100
committerMans Rullgard <mans@mansr.com>2012-09-20 10:56:30 +0100
commita34a609fc1c21f6ab07ce0469e38c76a2ae077d1 (patch)
tree212a0c48ee7e6bf509cee2f0d4dac6f527daff71 /libavcodec/intrax8dsp.h
parent50d1f4437be88a4b7e412e90d71153cae68017cc (diff)
downloadffmpeg-a34a609fc1c21f6ab07ce0469e38c76a2ae077d1.tar.gz
motion_est: fix use of inline on extern functions
Inline functions declared without extern do not provide an external definition in standard C99. This code only works because most compilers do not implement the inline semantics correctly. With a stricter compiler, linking fails with unresolved references to these functions. Declaring the functions extern inline works correctly with some compilers while some others still fail to create external definitions. For maximum portability, create a static inline version with an externally visible wrapper for ff_get_mb_score. ff_epzs_motion_search is so large that no sane compiler inlines it anyway, so there the inline keyword can simply be dropped with no effect. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/intrax8dsp.h')
0 files changed, 0 insertions, 0 deletions