diff options
author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-09-24 08:14:16 (GMT) |
---|---|---|
committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-09-24 08:14:16 (GMT) |
commit | 35c151c9257ebc4769722283c93c6d96cad2e20c (patch) | |
tree | 7f356368887e8de4c7f7e65ad50a4beb0f65c693 /lib/dvb/decoder.cpp | |
parent | ff7741ba68b96b0c7989f7135550e56548ca1652 (diff) |
small fix
Diffstat (limited to 'lib/dvb/decoder.cpp')
-rw-r--r-- | lib/dvb/decoder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index 71b3f39..57f48ee 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)); |