Hi, On Thu, Jan 12, 2012 at 2:41 PM, Diego Biurrun <di...@biurrun.de> wrote: > 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. > --- > libavcodec/cabac.c | 1 + > libavcodec/cabac.h | 131 +---------------------------------- > libavcodec/cabac_functions.h | 160 > ++++++++++++++++++++++++++++++++++++++++++ > libavcodec/h264.c | 4 +- > libavcodec/h264_cabac.c | 4 +- > 5 files changed, 167 insertions(+), 133 deletions(-) > create mode 100644 libavcodec/cabac_functions.h > > Update sent to account for small #include changes.
Still OK. Ronald _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel