diff options
author | Michael Smith <msmith@xiph.org> | 2008-03-27 15:23:55 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-09-11 01:54:39 +0100 |
commit | 458f65fbba31b680e9adbfa7e2ef85215513c547 (patch) | |
tree | 4141d0d65addb11d726050bf6a83ce69db64002d | |
parent | 90af674a5fe06f55b74fa5b7d61d1440434b76d5 (diff) |
gdp: When calculating GDP body CRC, use the correct pointer.
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_packet_from_event_1_0):
When calculating GDP body CRC, use the correct pointer.
Fixes part of #522401.
-rw-r--r-- | gst/gdp/dataprotocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c index 8bdb9bcf8..80c02c474 100644 --- a/gst/gdp/dataprotocol.c +++ b/gst/gdp/dataprotocol.c @@ -558,7 +558,7 @@ gst_dp_packet_from_event_1_0 (const GstEvent * event, GstDPHeaderFlag flags, /* timestamp */ GST_WRITE_UINT64_BE (h + 10, GST_EVENT_TIMESTAMP (event)); - GST_DP_SET_CRC (h, flags, *payload, pl_length); + GST_DP_SET_CRC (h, flags, string, pl_length); GST_LOG ("created header from event:"); gst_dp_dump_byte_array (h, GST_DP_HEADER_LENGTH); |