Merge remote-tracking branch 'origin/bug_785_fix_rtl_group_epg'
[enigma2.git] / lib / dvb / decoder.cpp
index df45063ad2dece66d3c22338d0ca7581828d1349..a89f72bbb69b021f890edabaf0ab1a03b3820bf6 100644 (file)
@@ -1306,7 +1306,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);
-                       while (m_video_clip_fd >= 0)
+                       if (m_video_clip_fd >= 0)
                        {
                                bool seq_end_avail = false;
                                size_t pos=0;