mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
rtpg726depay: fix endian conversion
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1469>
This commit is contained in:
parent
818a185b5d
commit
04f6fbc237
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ gst_rtp_g726_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp)
|
|||
((tmp & 0x1c) << 1) | ((tmp & 0x03) << 6);
|
||||
tmp = *in++;
|
||||
*out++ = ((tmp & 0x80) >> 7) |
|
||||
((tmp & 0x70) >> 3) | ((tmp & 0x0e) << 4) | ((tmp & 0x01) << 7);
|
||||
((tmp & 0x70) >> 3) | ((tmp & 0x0e) << 3) | ((tmp & 0x01) << 7);
|
||||
tmp = *in++;
|
||||
*out++ = ((tmp & 0xc0) >> 6) |
|
||||
((tmp & 0x38) >> 1) | ((tmp & 0x07) << 5);
|
||||
|
|
Loading…
Reference in a new issue