lib/dvb/decoder.cpp: fix typo (this fixes spinners in radio mode)
authorghost <andreas.monzner@multimedia-labs.de>
Wed, 16 Feb 2011 17:38:44 +0000 (18:38 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 16 Feb 2011 17:38:56 +0000 (18:38 +0100)
refs bug #672

lib/dvb/decoder.cpp

index 45dde8b..8c88a92 100644 (file)
@@ -1303,7 +1303,7 @@ RESULT eTSMPEGDecoder::showSinglePic(const char *filename)
                        fstat(f, &s);
                        if (m_video_clip_fd == -1)
                                m_video_clip_fd = open("/dev/dvb/adapter0/video0", O_WRONLY);
                        fstat(f, &s);
                        if (m_video_clip_fd == -1)
                                m_video_clip_fd = open("/dev/dvb/adapter0/video0", O_WRONLY);
-                       while (m_video_clip_fd >= 0)
+                       if (m_video_clip_fd >= 0)
                        {
                                bool seq_end_avail = false;
                                size_t pos=0;
                        {
                                bool seq_end_avail = false;
                                size_t pos=0;