[MPlayer-cvslog] r38004 - trunk/configure

Alexander Strasser eclipse7 at gmx.net
Sun Nov 5 12:59:46 EET 2017


On 2017-11-05 11:17 +0100, Ingo Brückl wrote:
> > Author: al
> > Date: Sun Nov  5 11:51:38 2017
> > New Revision: 38004
> 
> > If anyone understands when and why we need OPJ_STATIC [...]
> 
> Dunno, but maybe https://github.com/uclouvain/openjpeg/issues/766 helps?

Thanks. I already read those 3 or 4 linked issues on GitHub openjpeg.

I couldn't really understand what's going on though. At least I read
those issues as not using OPJ_STATIC to be the solution. For non-static
linking against OpenJPEG I presume.

I think this is also what the related thread on ffmpeg-user concluded:

* https://ffmpeg.org/pipermail/ffmpeg-user/2016-March/031467.html


Originally OPJ_STATIC was introduced to FFmpeg by merging this commit:

    commit 0f0d1d056e1a3ad3db32b7d1a06286b2841e91b1
    Date:   Sat Mar 22 20:16:44 2014 +0100
    
        configure: Always use -DOPJ_STATIC when checking for openjpeg
    
        Unbreaks windows systems not providing pkgconf files.


In MPlayer we had OPJ_STATIC from the beginning if I am not mistaken.


I also guess these ML threads are related:

* http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2016-October/200917.html
* http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2016-October/200932.html


  Alexander


More information about the MPlayer-cvslog mailing list