[mythtv] [patch] Statements with no effect

Andrew Mahone andrewmahone at eml.cc
Sun Jan 18 15:53:22 EST 2004


Kenneth Aafløy wrote:

>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)
>
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>  
>
Nice catch, sorry about that goof.  Colds, NyQuil, and code mix badly.  
Your fix is obviously correct :-)

-- 
  Andrew Mahone
  andrewmahone AT eml DOT cc



More information about the mythtv-dev mailing list