[MPlayer-dev-eng] mmx.h license issues

Diego Biurrun diego at biurrun.de
Sun Nov 5 15:12:18 CET 2006


Folks, over at Debian bug #396646 [1] somebody noticed that the file
trunk/mmx.h comes with a license statement that does not really permit
redistribution:

  THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY
  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
  LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  AND FITNESS FOR ANY PARTICULAR PURPOSE.

This file is only needed by libmpcodecs/native/RTjpeg.c, so I think it
should not be in the root directory to begin with.  The file contains
some real code, not just definitions, meaning that it should really be
copyrightable to begin with.

We need to do something about this, but there are several options:

1) Copy libavcodec/i386/mmx.h to libmpcodecs/native, it works.
2) Put a smaller version of libavcodec/i386/mmx.h with just the
   necessary definitions in libmpcodecs/native.
3) Make RTjpeg.c include libavcodec/i386/mmx.h.
4) Finish porting to FFmpeg and remove RTjpeg.c.

Solution 3) would add a dependency on libavcodec to MPlayer, but this
should not be a big problem.  The ideal solution is 4), but 1) and 2)
are also workable.

Reimar, you ported the nuv decoder to FFmpeg, what's keeping us from
removing it from libmpcodecs/native?

Diego

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=396646



More information about the MPlayer-dev-eng mailing list