• Wim Taymans's avatar
    gst-libs/gst/rtp/gstrtcpbuffer.c: Use g_strndup which does exactly what we want. · 27ea51ec
    Wim Taymans authored
    Original commit message from CVS:
    * gst-libs/gst/rtp/gstrtcpbuffer.c:
    (gst_rtcp_packet_sdes_copy_entry):
    Use g_strndup which does exactly what we want.
    * gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_compare_seqnum),
    (gst_rtp_buffer_ext_timestamp):
    * gst-libs/gst/rtp/gstrtpbuffer.h:
    Add helper function to compare seqnums.
    Add helper function to calculate extended timestamps.
    API: gst_rtp_buffer_compare_seqnum()
    API: gst_rtp_buffer_ext_timestamp()
    27ea51ec
gstrtpbuffer.h 8.53 KB