f236f6ffc0
- libdvbapi - libucsi - atsc_epg - azap / czap / szap / tzap - dvbdate
15 lines
503 B
C
15 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;
|
|
}
|