[Ffmpeg-devel] [PATCH] Add sws_getCachedContext() to swscale library

Víctor Paesa wzrlpy
Thu Aug 31 19:15:42 CEST 2006


While porting the vhooks to swscale I found myself copying&pasting
the same code over and over, to support streams that change dimensions.

This function sws_getCachedContext() in the attached patch would save me
a lot of typing, plus increasing legibility.

Please advice if the patch should really be submmitted to mplayer-devel.

V?ctor Paesa

P.S. Should it be commited, the code is under LGPL.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.swscale.swscale.1.patch
Type: application/octet-stream
Size: 2520 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060831/47c5a0fd/attachment.obj>

More information about the ffmpeg-devel mailing list