From 0a3dc9a63a56d7c4b91a4602bd1e98a65207b81d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 25 Nov 2004 21:48:36 +0000 Subject: [PATCH] Rewind the file after reading the first frame because a different parser object is used. --- src/input/r_mpeg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input/r_mpeg.cpp b/src/input/r_mpeg.cpp index 6b3ed5ca0..f48eb333e 100644 --- a/src/input/r_mpeg.cpp +++ b/src/input/r_mpeg.cpp @@ -73,6 +73,7 @@ mpeg_es_reader_c::mpeg_es_reader_c(track_info_c *nti) throw ""; } + mm_io->setFilePointer(0); version = parser.GetMPEGVersion(); seq_hdr = parser.GetSequenceHeader(); width = seq_hdr.width;