rtxsend: fix wrong memory layout assumption
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 3 Apr 2018 23:48:44 +0000 (01:48 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Fri, 6 Apr 2018 18:25:04 +0000 (20:25 +0200)
commit8270cbacb49a3f978d6d35f1246773142a3028f5
tree48e177b2be91736e545388cdd0419ddf0acfed12
parent4f8b34ab8533689abc0ef472e060648858f5f60f
rtxsend: fix wrong memory layout assumption

The code responsible for creating retransmitted buffers
assumed the stored buffer had been created with
rtp_buffer_new_allocate when copying the extension data,
which isn't necessarily the case, for example when
the rtp buffers come from a udpsrc.

https://bugzilla.gnome.org/show_bug.cgi?id=794958
gst/rtpmanager/gstrtprtxsend.c