fix return
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Thu, 10 Nov 2005 01:48:12 +0000 (01:48 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Thu, 10 Nov 2005 01:48:12 +0000 (01:48 +0000)
lib/driver/avswitch.cpp

index 9d2ae00..b5c8250 100644 (file)
@@ -95,7 +95,7 @@ void eAVSwitch::setVideomode(int mode)
        char *ntsc="ntsc";
        int fd;
        
        char *ntsc="ntsc";
        int fd;
        
-       return 0;
+       return;
        //FIXME: bug in driver (cannot set PAL)
        if((fd = open("/proc/stb/video/videomode", O_WRONLY)) < 0) {
                printf("cannot open /proc/stb/video/videomode\n");
        //FIXME: bug in driver (cannot set PAL)
        if((fd = open("/proc/stb/video/videomode", O_WRONLY)) < 0) {
                printf("cannot open /proc/stb/video/videomode\n");