summaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-25 15:12:24 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-25 15:12:24 +0200
commit8f13b3f2580f182f51d9ad131da1deafdcd5e91a (patch)
tree57e308cc985a0d96a20c37d48b1c3a2dd4ad245d /src/utils.h
parent8fadb4940c9fcbde6a00b2b78badfcb1269382ba (diff)
downloadfdk-aac-dabplus-8f13b3f2580f182f51d9ad131da1deafdcd5e91a.tar.gz
fdk-aac-dabplus-8f13b3f2580f182f51d9ad131da1deafdcd5e91a.tar.bz2
fdk-aac-dabplus-8f13b3f2580f182f51d9ad131da1deafdcd5e91a.zip
use new message format for file encoder too
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h
index aa8dc8a..a5aaf8c 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -37,9 +37,9 @@ struct zmq_frame_header_t
#define ZMQ_ENCODER_FDK 1
/* The expected frame size incl data of the given frame */
-#define ZMQ_FRAME_SIZE(f) (sizeof(zmq_frame_header_t) + f->datasize)
+#define ZMQ_FRAME_SIZE(f) (sizeof(struct zmq_frame_header_t) + f->datasize)
-#define ZMQ_FRAME_DATA(f) ( ((uint8_t*)f)+sizeof(zmq_frame_header_t) )
+#define ZMQ_FRAME_DATA(f) ( ((uint8_t*)f)+sizeof(struct zmq_frame_header_t) )
#endif