[asterisk-commits] mnicholson: trunk r325815 - /trunk/main/frame.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 30 13:19:34 CDT 2011
Author: mnicholson
Date: Thu Jun 30 13:19:31 2011
New Revision: 325815
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=325815
Log:
copy all flags on asterisk frames instead of just the timing flag
Modified:
trunk/main/frame.c
Modified: trunk/main/frame.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/frame.c?view=diff&rev=325815&r1=325814&r2=325815
==============================================================================
--- trunk/main/frame.c (original)
+++ trunk/main/frame.c Thu Jun 30 13:19:31 2011
@@ -381,7 +381,7 @@
out->samples = fr->samples;
out->offset = fr->offset;
/* Copy the timing data */
- ast_copy_flags(out, fr, AST_FRFLAG_HAS_TIMING_INFO);
+ ast_copy_flags(out, fr, AST_FLAGS_ALL);
if (ast_test_flag(fr, AST_FRFLAG_HAS_TIMING_INFO)) {
out->ts = fr->ts;
out->len = fr->len;
@@ -505,7 +505,7 @@
/* Must have space since we allocated for it */
strcpy(src, f->src);
}
- ast_copy_flags(out, f, AST_FRFLAG_HAS_TIMING_INFO);
+ ast_copy_flags(out, f, AST_FLAGS_ALL);
out->ts = f->ts;
out->len = f->len;
out->seqno = f->seqno;
More information about the asterisk-commits
mailing list