rtp: fix ntp56 parsing
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 24 Sep 2012 11:08:46 +0000 (13:08 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 6 Nov 2012 08:18:54 +0000 (09:18 +0100)
gst-libs/gst/rtp/gstrtphdrext.c

index fd83b0e..ed8f33a 100644 (file)
@@ -131,8 +131,8 @@ gst_rtp_hdrext_get_ntp_56 (gpointer data, guint size, guint64 * ntptime)
 
     *ntptime = 0;
     for (i = 0; i < 7; i++) {
-      *ntptime |= d[6 - i];
       *ntptime <<= 8;
+      *ntptime |= d[i];
     }
   }
   return TRUE;