[x264-devel] [PATCH] fix parsing for --nf option

Gianluigi Tiesi mplayer at netfarm.it
Wed Oct 4 05:31:54 CEST 2006


Using --nf option x264 raises an invalid argument (value is null).
This patch should fix the problem.

Bye
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
Index: common/common.c
===================================================================
--- common/common.c	(revision 578)
+++ common/common.c	(working copy)
@@ -310,7 +310,7 @@
     OPT("b-pyramid")
         p->b_bframe_pyramid = atobool(value);
     OPT("nf")
-        p->b_deblocking_filter = 0;
+        p->b_deblocking_filter = !atobool(value);
     OPT2("filter", "deblock")
     {
         int count;


More information about the x264-devel mailing list