summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_qt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_qt.c')
-rw-r--r--src/demuxers/demux_qt.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index 07db42a6e..64dd7a9c7 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.c
@@ -30,7 +30,7 @@
* build_frame_table
* free_qt_info
*
- * $Id: demux_qt.c,v 1.187 2004/06/13 21:28:54 miguelfreitas Exp $
+ * $Id: demux_qt.c,v 1.188 2004/06/15 21:22:34 miguelfreitas Exp $
*
*/
@@ -2717,12 +2717,11 @@ static int demux_qt_seek (demux_plugin_t *this_gen,
demux_qt_t *this = (demux_qt_t *) this_gen;
qt_trak *video_trak = NULL;
qt_trak *audio_trak = NULL;
-
+ int64_t keyframe_pts;
+
start_pos = (off_t) ( (double) start_pos / 65535 *
this->data_size );
- int64_t keyframe_pts;
-
/* short-circuit any attempts to seek in a non-seekable stream, including
* seeking in the forward direction; this may change later */
if ((this->input->get_capabilities(this->input) & INPUT_CAP_SEEKABLE) == 0) {