summaryrefslogtreecommitdiff
path: root/libavcodec/truemotion1.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-08-21 19:40:38 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-08-21 19:40:38 +0000
commit47af6239674f336defe3fa5aa13808e77af3792a (patch)
tree1510373127e80853d0ec78a545c0e2b5c8d62f38 /libavcodec/truemotion1.c
parent751c5093c6a2b9149fb1ad86220b0bf35fded42c (diff)
Since the 24 bit format is decoded to endian-dependant
BGR32 and not BGR24, do not swap red and blue on big-endian for this format as well. Originally committed as revision 24863 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/truemotion1.c')
-rw-r--r--libavcodec/truemotion1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index dace45d032..63841a08f6 100644
--- a/libavcodec/truemotion1.c
+++ b/libavcodec/truemotion1.c
@@ -226,11 +226,7 @@ static int make_ydt24_entry(int p1, int p2, int16_t *ydt)
return (lo + (hi << 8) + (hi << 16)) << 1;
}
-#if HAVE_BIGENDIAN
-static int make_cdt24_entry(int p2, int p1, int16_t *cdt)
-#else
static int make_cdt24_entry(int p1, int p2, int16_t *cdt)
-#endif
{
int r, b;