From 04f6fbc237c984a9303ecc197d623d1bcf78c4c9 Mon Sep 17 00:00:00 2001 From: Jeongki Kim Date: Fri, 24 Dec 2021 14:52:38 +0900 Subject: [PATCH] rtpg726depay: fix endian conversion Part-of: --- subprojects/gst-plugins-good/gst/rtp/gstrtpg726depay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/rtp/gstrtpg726depay.c b/subprojects/gst-plugins-good/gst/rtp/gstrtpg726depay.c index a3c5de3..d4bdc4f 100644 --- a/subprojects/gst-plugins-good/gst/rtp/gstrtpg726depay.c +++ b/subprojects/gst-plugins-good/gst/rtp/gstrtpg726depay.c @@ -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); -- 2.7.4