[MPlayer-cvslog] r27838 - trunk/libmpcodecs/vf_smartblur.c

diego subversion at mplayerhq.hu
Mon Oct 27 22:00:13 CET 2008


Author: diego
Date: Mon Oct 27 22:00:12 2008
New Revision: 27838

Log:
Fix smartblur filter crash due to missing default scaler choice;
set bicubic as the default scaler.
patch by Kurt Garloff, kurt garloff de


Modified:
   trunk/libmpcodecs/vf_smartblur.c

Modified: trunk/libmpcodecs/vf_smartblur.c
==============================================================================
--- trunk/libmpcodecs/vf_smartblur.c	(original)
+++ trunk/libmpcodecs/vf_smartblur.c	Mon Oct 27 22:00:12 2008
@@ -93,7 +93,7 @@ static int allocStuff(FilterParam *f, in
 	swsF.lumH= swsF.lumV= vec;
 	swsF.chrH= swsF.chrV= NULL;
 	f->filterContext= sws_getContext(
-		width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, get_sws_cpuflags(), &swsF, NULL, NULL);
+		width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, SWS_BICUBIC | get_sws_cpuflags(), &swsF, NULL, NULL);
 
 	sws_freeVec(vec);
 



More information about the MPlayer-cvslog mailing list