[Ffmpeg-devel] swscale patch

Luca Abeni lucabe72
Tue Jul 4 13:17:47 CEST 2006


Hi all,

while addressing Michael's comments, I also split swscale.diff in 3
pieces:
- the first one just changes libswscale's Makefile making it similar to
the libav* makefiles
- the second one changes the headers included by libswscale, including
avutil.h and, and introduces sws_global_init removing all the references
to malloc() and free()
- the third patch introduces the support for ffmpeg's pixel format names

I attach the first two patches (I still have to test the third one). I
think the first one (build.diff) should be ok, and I hope the second one
(swscale-part2.diff) properly addresses the comments I received.

The changes are:
- do not include mangle.h
- use x86_cpu.h instead of introducing cpu.h
- removed all the "if (...)" before sws_free()
- removed sws_init()
- removed spurious "#include <stdint.h>" from swscale.h
- removed img_format.h from the patch

I will probably send the third patch tomorrow.



			Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.diff
Type: text/x-patch
Size: 2114 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060704/5fb73c34/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale-part2.diff
Type: text/x-patch
Size: 23124 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060704/5fb73c34/attachment-0001.bin>



More information about the ffmpeg-devel mailing list