[libbluray-devel] Reordered struct elements to save few bytes

hpi1 git at videolan.org
Wed Dec 7 15:18:31 CET 2011


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Dec  4 12:22:16 2011 +0200| [956f571b82f183a5d41011495dc2057f818aa4b2] | committer: hpi1

Reordered struct elements to save few bytes

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=956f571b82f183a5d41011495dc2057f818aa4b2
---

 src/libbluray/bdnav/sound_parse.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libbluray/bdnav/sound_parse.h b/src/libbluray/bdnav/sound_parse.h
index 912bb2e..626a741 100644
--- a/src/libbluray/bdnav/sound_parse.h
+++ b/src/libbluray/bdnav/sound_parse.h
@@ -25,8 +25,8 @@
 #include <stdint.h>
 
 typedef struct {
-  uint8_t    num_channels;
   uint32_t   sample_rate;
+  uint8_t    num_channels;
   uint8_t    bits_per_sample;
 
   uint32_t   num_frames;



More information about the libbluray-devel mailing list