Mercurial > libavcodec.hg
changeset 12396:fe8005d542a4 libavcodec
Do not swap red and blue when decoding truemotion
on big-endian.
author | reimar |
---|---|
date | Sat, 21 Aug 2010 19:37:33 +0000 |
parents | e05e29a04ada |
children | 4bc3d73ae577 |
files | truemotion1.c |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/truemotion1.c Sat Aug 21 15:18:54 2010 +0000 +++ b/truemotion1.c Sat Aug 21 19:37:33 2010 +0000 @@ -178,11 +178,7 @@ return (lo + (hi << 16)) << 1; } -#if HAVE_BIGENDIAN -static int make_cdt15_entry(int p2, int p1, int16_t *cdt) -#else static int make_cdt15_entry(int p1, int p2, int16_t *cdt) -#endif { int r, b, lo; @@ -207,11 +203,7 @@ return (lo + (hi << 16)) << 1; } -#if HAVE_BIGENDIAN -static int make_cdt16_entry(int p2, int p1, int16_t *cdt) -#else static int make_cdt16_entry(int p1, int p2, int16_t *cdt) -#endif { int r, b, lo;