[vlc-devel] commit: Minor memory layout optimization ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jan 5 22:42:53 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jan  5 23:28:20 2009 +0200| [b2efd10d19f7fb396eb8e9d5c30ee32b532a1694] | committer: Rémi Denis-Courmont 

Minor memory layout optimization

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b2efd10d19f7fb396eb8e9d5c30ee32b532a1694
---

 src/playlist/playlist_internal.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/playlist/playlist_internal.h b/src/playlist/playlist_internal.h
index dc68225..73fa3a1 100644
--- a/src/playlist/playlist_internal.h
+++ b/src/playlist/playlist_internal.h
@@ -82,12 +82,13 @@ typedef struct playlist_private_t
         vlc_mutex_t         lock;     /**< Lock to protect request */
     } request;
 
+    int      i_last_playlist_id; /**< Last id to an item */
+    bool     b_reset_currently_playing; /** Reset current item array */
+
     bool     b_tree; /**< Display as a tree */
     bool     b_doing_ml; /**< Doing media library stuff  get quicker */
     bool     b_auto_preparse;
     mtime_t  last_rebuild_date;
-    bool     b_reset_currently_playing; /** Reset current item array */
-    int      i_last_playlist_id; /**< Last id to an item */
 
 } playlist_private_t;
 




More information about the vlc-devel mailing list