diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-07-26 16:34:21 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-07-26 16:40:41 +0200 |
commit | b6c5d72a525aa375b4faf112ee3e63dff6f79fcf (patch) | |
tree | e4541530df89fd675acc26cd3a7bf3edfa0c3c98 | |
parent | 6bea98825d7c54b064d4afed5b14ca459100ab75 (diff) |
rtpmparobustdepay: modify buffer data rather than buffer itself
-rw-r--r-- | gst/rtp/gstrtpmparobustdepay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpmparobustdepay.c b/gst/rtp/gstrtpmparobustdepay.c index 8580c0d15..963b9a66d 100644 --- a/gst/rtp/gstrtpmparobustdepay.c +++ b/gst/rtp/gstrtpmparobustdepay.c @@ -439,9 +439,9 @@ gst_rtp_mpa_robust_depay_deinterleave (GstRtpMPARobustDepay * rtpmpadepay, } } /* rewrite buffer sync header */ - val = GST_READ_UINT16_BE (buf); + val = GST_READ_UINT16_BE (data); val = (0x7ff << 5) | val; - GST_WRITE_UINT16_BE (buf, val); + GST_WRITE_UINT16_BE (data, val); /* store and keep track of last indices */ rtpmpadepay->last_icc = icc; rtpmpadepay->last_ii = iindex; |