Commit b7f0b131 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MKV: change debug message

No need to call stream_Size and divide by 0
parent 3eb45c24
......@@ -915,8 +915,7 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
i_seek_time = p_indexes[i_idx].i_time;
}
msg_Dbg( &sys.demuxer, "seek got %"PRId64" (%d%%)",
i_seek_time, (int)( 100 * i_seek_position / stream_Size( sys.demuxer.s ) ) );
msg_Dbg( &sys.demuxer, "seek got %"PRId64" - %"PRId64, i_seek_time, i_seek_position );
es.I_O().setFilePointer( i_seek_position, seek_beginning );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment