From: Andreas Monzner Date: Wed, 24 Sep 2008 08:14:16 +0000 (+0000) Subject: small fix X-Git-Tag: 2.6.0~854 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/35c151c9257ebc4769722283c93c6d96cad2e20c small fix --- diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index 71b3f39e..57f48ee3 100644 --- a/lib/dvb/decoder.cpp +++ b/lib/dvb/decoder.cpp @@ -1187,6 +1187,8 @@ RESULT eTSMPEGDecoder::showSinglePic(const char *filename) ++pos; if ((iframe[3] >> 4) != 0xE) // no pes header write(m_video_clip_fd, pes_header, sizeof(pes_header)); + else + iframe[4] = iframe[5] = 0x00; write(m_video_clip_fd, iframe, s.st_size); if (!seq_end_avail) write(m_video_clip_fd, seq_end, sizeof(seq_end));