summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Strudel <tstrudel@google.com>2016-06-16 19:15:40 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-06-16 19:15:41 +0000
commit5ac3592d7f026c4af9b7f6e1207db116cbaf9d7e (patch)
treefe402f70a971a53e4c5d32bc575e39259698c179
parentc8966476a1b9443b8b433fb14a1f64832fe726a7 (diff)
parentcf953128e1663b0a96e6d6999c84b008a96fe394 (diff)
downloadextras-5ac3592d7f026c4af9b7f6e1207db116cbaf9d7e.tar.gz
Merge "libfec: pack the fec_header structure" into nyc-mr1-dev
-rw-r--r--libfec/include/fec/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfec/include/fec/io.h b/libfec/include/fec/io.h
index 3b5dac06..670a5d7e 100644
--- a/libfec/include/fec/io.h
+++ b/libfec/include/fec/io.h
@@ -49,7 +49,7 @@ struct fec_header {
uint32_t fec_size;
uint64_t inp_size;
uint8_t hash[SHA256_DIGEST_LENGTH];
-};
+} __attribute__ ((packed));
struct fec_status {
int flags;