rtpbuffer: get_onebyte_header_end_offset: allow 0 offset
authorMiguel Paris <mparisdiaz@gmail.com>
Fri, 13 Dec 2019 15:06:44 +0000 (16:06 +0100)
committerMiguel Paris <mparisdiaz@gmail.com>
Thu, 19 Mar 2020 13:18:20 +0000 (14:18 +0100)
commit2d4d28d662bae884a8e7b8ec5b2570546bf28caa
treec9ba4b8340eb6831419b4476b944e9cf35ca9a38
parent3f79805aa080a305f767ae6784b452ea4c2851fb
rtpbuffer: get_onebyte_header_end_offset: allow 0 offset

There are some cases where the full extension data could be padding.
In order to make the GstRtpBuffer robust enough, this change supports
this case.
gst-libs/gst/rtp/gstrtpbuffer.c