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

Jacek Konieczny asteriskteam at digium.com
Wed Apr 6 08:22:34 CDT 2016


Jacek Konieczny has uploaded a new change for review.

  https://gerrit.asterisk.org/2539

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/39/2539/1

diff --git a/main/frame.c b/main/frame.c
index 64af882..b7d18fc 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/2539
To unsubscribe, visit https://gerrit.asterisk.org/settings

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



More information about the asterisk-code-review mailing list