On Sat, Jan 07, 2012 at 08:58:45PM +0100, Diego Biurrun wrote:
> The intention is to separate externally used parts of cabac.h from the
> rest of the file and especially the CABAC inline functions in cabac.h.
> 
> 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.
> ---
>  libavcodec/cabac.h         |   11 +----------
>  libavcodec/h264.h          |   11 ++++++++++-
>  libavcodec/x86/h264_i386.h |    2 +-
>  3 files changed, 12 insertions(+), 12 deletions(-)
> 
> This still needs to pass further testing with my script to fix compilation
> of individual components with --disable-optimization.  However, as I am
> confident that it will work, I'm already sending it for review.

It survived the stresstest; this patch works as expected.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to