[mythtv] [patch] Statements with no effect

Kenneth Aafl°y ke-aa at frisurf.no
Sun Jan 18 14:27:26 EST 2004


Hi,

guess it's a typo:

Index: filtermanager.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/filtermanager.cpp,v
retrieving revision 1.7
diff -u -r1.7 filtermanager.cpp
--- filtermanager.cpp   18 Jan 2004 18:39:25 -0000      1.7
+++ filtermanager.cpp   18 Jan 2004 19:26:18 -0000
@@ -372,11 +372,11 @@
     else
     {
         if (inpixfmt == -1 && outpixfmt == -1)
-            inpixfmt == outpixfmt == FMT_YV12;
+            inpixfmt = outpixfmt = FMT_YV12;
         else if (inpixfmt == -1)
-            inpixfmt == outpixfmt;
+            inpixfmt = outpixfmt;
         else if (outpixfmt == -1)
-            outpixfmt == inpixfmt;
+            outpixfmt = inpixfmt;
     }
 
     switch (inpixfmt)



More information about the mythtv-dev mailing list