From 50ce6e08f89f5d2458828f014bdd7a02765d3095 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sat, 20 Mar 2004 19:02:57 +0000 Subject: [PATCH] Change for the API change in librmff. --- src/input/r_real.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/input/r_real.cpp b/src/input/r_real.cpp index 59aa73b5c..31ff24257 100644 --- a/src/input/r_real.cpp +++ b/src/input/r_real.cpp @@ -971,7 +971,9 @@ real_reader_c::get_information_from_data() { real_demuxer_t *dmx; bool information_found; rmff_frame_t *frame; + int64_t old_pos; + old_pos = file->io->tell(file->handle); information_found = true; for (i = 0; i < demuxers.size(); i++) { dmx = demuxers[i]; @@ -1004,8 +1006,7 @@ real_reader_c::get_information_from_data() { } } - file->io->seek(file->handle, file->first_data_header_offset + 10, - SEEK_SET); + file->io->seek(file->handle, old_pos, SEEK_SET); file->num_packets_read = 0; }