mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
Make sure smoother only creates frames with offsets (bug #1029)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -90,10 +90,10 @@ struct ast_frame_chain {
|
||||
};
|
||||
|
||||
#define AST_FRIENDLY_OFFSET 64 /*! It's polite for a a new frame to
|
||||
have at least this number of bytes
|
||||
of offset before your real frame data
|
||||
so that additional headers can be
|
||||
added. */
|
||||
have this number of bytes for additional
|
||||
headers. */
|
||||
#define AST_MIN_OFFSET 32 /*! Make sure we keep at least this much handy */
|
||||
|
||||
/*! Need the header be free'd? */
|
||||
#define AST_MALLOCD_HDR (1 << 0)
|
||||
/*! Need the data be free'd? */
|
||||
|
Reference in New Issue
Block a user