f236f6ffc0
- libdvbapi - libucsi - atsc_epg - azap / czap / szap / tzap - dvbdate
15 lines
423 B
C
15 lines
423 B
C
$NetBSD: patch-lib_libucsi_mpeg_pat__section.c,v 1.1 2011/07/15 22:59:21 jmcneill Exp $
|
|
|
|
--- lib/libucsi/mpeg/pat_section.c.orig 2011-06-28 05:50:24.000000000 +0000
|
|
+++ lib/libucsi/mpeg/pat_section.c
|
|
@@ -34,8 +34,8 @@ struct mpeg_pat_section *mpeg_pat_sectio
|
|
if ((pos + 4) > len)
|
|
return NULL;
|
|
|
|
- bswap16(buf + pos);
|
|
- bswap16(buf + pos + 2);
|
|
+ ubswap16(buf + pos);
|
|
+ ubswap16(buf + pos + 2);
|
|
pos += 4;
|
|
}
|
|
|