diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-08-21 23:37:33 +0400 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-08-21 23:37:33 +0400 |
commit | 751c5093c6a2b9149fb1ad86220b0bf35fded42c (patch) | |
tree | c1f3cc886c96402b8281072e6ab5d78c58cdd656 /libavcodec/truemotion1.c | |
parent | f5ea69b23522898b14b3ddf5acd6d1befcc9d0da (diff) |
Do not swap red and blue when decoding truemotion
on big-endian.
Originally committed as revision 24862 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/truemotion1.c')
-rw-r--r-- | libavcodec/truemotion1.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index 4306917912..dace45d032 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.c @@ -178,11 +178,7 @@ static int make_ydt15_entry(int p1, int p2, int16_t *ydt) 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 @@ static int make_ydt16_entry(int p1, int p2, int16_t *ydt) 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; |