summaryrefslogtreecommitdiff
path: root/multimedia/dvb-apps/patches/patch-lib_libucsi_dvb_data__broadcast__descriptor.h
blob: be16fc3c64d15c8b9cf7a62ff6a9b7fd83aae7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-lib_libucsi_dvb_data__broadcast__descriptor.h,v 1.1 2011/07/15 22:59:21 jmcneill Exp $

--- lib/libucsi/dvb/data_broadcast_descriptor.h.orig	2011-06-28 05:50:24.000000000 +0000
+++ lib/libucsi/dvb/data_broadcast_descriptor.h
@@ -72,7 +72,7 @@ static inline struct dvb_data_broadcast_
 	if (pos > len)
 		return NULL;
 
-	bswap16(buf + 2);
+	ubswap16(buf + 2);
 
 	pos += p->selector_length;