From: <ms...@ke...> - 2008-03-27 15:24:03
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: msmith Date: Thu Mar 27 2008 15:24:10 UTC Log message: * 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. Modified files: . : ChangeLog libs/gst/dataprotocol: dataprotocol.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3731&r2=1.3732 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/libs/gst/dataprotocol/dataprotocol.c.diff?r1=1.37&r2=1.38 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.3731 retrieving revision 1.3732 diff -u -d -r1.3731 -r1.3732 --- ChangeLog 24 Mar 2008 16:56:35 -0000 1.3731 +++ ChangeLog 27 Mar 2008 15:23:54 -0000 1.3732 @@ -1,3 +1,10 @@ +2008-03-27 Michael Smith <ms...@fl...> + + * 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. 2008-03-24 Wim Taymans <wim...@co...> Patch by: Mark Nauwelaerts <manauw at skynet be> Index: dataprotocol.c RCS file: /cvs/gstreamer/gstreamer/libs/gst/dataprotocol/dataprotocol.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- dataprotocol.c 29 Feb 2008 12:41:29 -0000 1.37 +++ dataprotocol.c 27 Mar 2008 15:23:55 -0000 1.38 @@ -558,7 +558,7 @@ /* 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); |