linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix libdvbv5 endianess function for embedded toolchains
@ 2012-08-21 18:58 Gregor Jasny
  2012-08-21 18:58 ` [PATCH] libdvbv5: Fix byte swapping " Gregor Jasny
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Jasny @ 2012-08-21 18:58 UTC (permalink / raw)
  To: linux-media; +Cc: prabhakar.lad, Gregor Jasny

Hello,

the following patch fixes compilation of libdvbv5 with the Code Sourcery
ARM toolchain. It replaces the missing be16toh and be32toh with the
available ntohs and ntohl.

IMHO the bswap16/32 macro names should be replaced because the current name
suggests unconditional swap regardless of the host architecture.

Thanks,
Gregor

Gregor Jasny (1):
  libdvbv5: Fix byte swapping for embedded toolchains

 lib/include/descriptors.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-22  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 18:58 [PATCH] Fix libdvbv5 endianess function for embedded toolchains Gregor Jasny
2012-08-21 18:58 ` [PATCH] libdvbv5: Fix byte swapping " Gregor Jasny
2012-08-22  4:51   ` Prabhakar Lad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).