[Asterisk-code-review] main/frame.c: copy frame ending value in ast frdup() (asterisk[master])

Jacek Konieczny asteriskteam at digium.com
Wed Apr 6 08:12:30 CDT 2016


Jacek Konieczny has uploaded a new change for review.

  https://gerrit.asterisk.org/2538

Change subject: main/frame.c: copy frame_ending value in ast_frdup()
......................................................................

main/frame.c: copy frame_ending value in ast_frdup()

ASTERISK-25894 #close

Change-Id: I812ca90e84ed5d4f473b997d0dd0d3c5a915fe33
---
M main/frame.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/38/2538/1

diff --git a/main/frame.c b/main/frame.c
index ae2120a..054d7f9 100644
--- a/main/frame.c
+++ b/main/frame.c
@@ -323,6 +323,7 @@
 	if ((f->frametype == AST_FRAME_VOICE) || (f->frametype == AST_FRAME_VIDEO) ||
 		(f->frametype == AST_FRAME_IMAGE)) {
 		out->subclass.format = ao2_bump(f->subclass.format);
+		out->subclass.frame_ending = f->subclass.frame_ending;
 	} else {
 		memcpy(&out->subclass, &f->subclass, sizeof(out->subclass));
 	}

-- 
To view, visit https://gerrit.asterisk.org/2538
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I812ca90e84ed5d4f473b997d0dd0d3c5a915fe33
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Jacek Konieczny <jkonieczny at eggsoft.pl>



More information about the asterisk-code-review mailing list