Files
pkgsrc-ng/multimedia/dvb-apps/patches/patch-lib_libucsi_mpeg_ca__descriptor.h
2013-09-26 17:14:40 +02:00

16 lines
503 B
C

$NetBSD: patch-lib_libucsi_mpeg_ca__descriptor.h,v 1.1 2011/07/15 22:59:21 jmcneill Exp $
--- lib/libucsi/mpeg/ca_descriptor.h.orig 2011-06-28 05:50:24.000000000 +0000
+++ lib/libucsi/mpeg/ca_descriptor.h
@@ -54,8 +54,8 @@ static inline struct mpeg_ca_descriptor*
if (d->len < (sizeof(struct mpeg_ca_descriptor) - 2))
return NULL;
- bswap16((uint8_t*) d + 2);
- bswap16((uint8_t*) d + 4);
+ ubswap16((uint8_t*) d + 2);
+ ubswap16((uint8_t*) d + 4);
return (struct mpeg_ca_descriptor*) d;
}