summaryrefslogtreecommitdiff
path: root/libavcodec/cabac_functions.h
Commit message (Collapse)AuthorAge
* cabac: split cabac.h into declarations and function definitionsDiego Biurrun2012-01-12
This fixes standalone compilation of some decoders with --disable-optimizations. cabac.h defines some inline functions that use symbols from cabac.c. Without optimizations these inline functions are not eliminated and linking fails with references to non-existing symbols. Splitting the inline functions off into their own header and only #including it in the places where the inline functions are used allows #including cabac.h from anywhere without ill effects.