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

14 lines
494 B
C

$NetBSD: patch-lib_libucsi_mpeg_registration__descriptor.h,v 1.1 2011/07/15 22:59:21 jmcneill Exp $
--- lib/libucsi/mpeg/registration_descriptor.h.orig 2011-06-28 05:50:24.000000000 +0000
+++ lib/libucsi/mpeg/registration_descriptor.h
@@ -52,7 +52,7 @@ static inline struct mpeg_registration_d
if (d->len < (sizeof(struct mpeg_registration_descriptor) - 2))
return NULL;
- bswap32((uint8_t*) d + 2);
+ ubswap32((uint8_t*) d + 2);
return (struct mpeg_registration_descriptor*) d;
}