]> git.ipfire.org Git - thirdparty/asterisk.git/commit
frame.c: Copy the whole subclass in ast_frdup(). 39/2539/2
authorJacek Konieczny <jkonieczny@eggsoft.pl>
Wed, 6 Apr 2016 13:01:47 +0000 (15:01 +0200)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 6 Apr 2016 16:12:48 +0000 (11:12 -0500)
commit0735a4d6d7a57a61b33ba267ee2f1ca5ffda95ea
treec0dffe3c68967868adfd6f15137e943b5a61b5a9
parent587a97a515a498e6a0c8cbf443bb8b7463bc73e0
frame.c: Copy the whole subclass in ast_frdup().

The problem is ast_frdup() does not copy whole frame.subclass for voice,
video and image frames, only the format is copied.  For video frames, the
subclass structure contains the .frame_ending flag used to put the RTP
marker where it needs to be.

ASTERISK-25894 #close

Change-Id: I812ca90e84ed5d4f473b997d0dd0d3c5a915fe33
main/frame.c