[MPlayer-dev-eng] [PATCH] smartblur SEGV

Kurt Garloff kurt at garloff.de
Mon Oct 27 11:42:01 CET 2008


Hi,

smartblur filter in mencoder crashes.

The reason is:
swScaler: Exactly one scaler algorithm must be choosen
so sws_getContext() return NULL and a call sws_scale(NULL, ...) crashes.

Either we pass a scaler alg to sws_getContext() in smartblur's 
allocStuff or we make sws_getContext() chose BICUBIC by default.

Patches for both approaches attached. At least one needs to be applied
to make smartblur work again.

Cheers,
-- 
Kurt Garloff                   <kurt at garloff.de>             [Koeln, DE]
Physics:Plasma modeling <garloff at plasimo.phys.tue.nl> [TU Eindhoven, NL]
Linux: VP BizDev OPS           <garloff at suse.de>            [Novell Inc]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smartblur-bicubic.diff
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081027/14cea62c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale-default.diff
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081027/14cea62c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081027/14cea62c/attachment.pgp>


More information about the MPlayer-dev-eng mailing list