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 9d2ae007c3f2d5a0787fde30b585033e2cd189d4..b5c8250ecfffdfaecca1abdebf98e8fb5b29442d 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");