[MPlayer-dev-eng] [PATCH] cleanup swscale usage

Luca Abeni lucabe72 at email.it
Tue May 9 10:12:39 CEST 2006


Hi all,

I am currently trying to move swscale from the mplayer tree to the
ffmpeg tree (so that it can be used by ffmpeg and by other projects).
This would require some modifications to swscale (I already posted some
patches on the ffmpeg mailing list), and some modifications to mplayer
to use the modified swscale.

While patching mplayer for using such "external" swscale, I noted that
some source files include swscale headers without apparent reason (I
apologize if I misunderstood something). libvo/vo_x11.c even includes a
"private" swscale header. So, I cooked up the attached patch, that tries
to cleanup the swscale headers usage. After applying it, everything
compiles fine and the tests I ran did not show any regression.

Is this patch acceptable? Can it be committed to the CVS?
If yes, in few days I'll provide patches for moving swscale to ffmpeg
and for compiling mplayer after the move.


			Thanks,
				Luca

P.S.: please cc me on reply because I am not subscribed to the list

-- 
Proud to be "coglione"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-headers-cleanup2.diff
Type: text/x-patch
Size: 9473 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060509/b17b794b/attachment.bin>


More information about the MPlayer-dev-eng mailing list