[FFmpeg-cvslog] r24862 - trunk/libavcodec/truemotion1.c
reimar
subversion
Sat Aug 21 21:37:33 CEST 2010
Author: reimar
Date: Sat Aug 21 21:37:33 2010
New Revision: 24862
Log:
Do not swap red and blue when decoding truemotion
on big-endian.
Modified:
trunk/libavcodec/truemotion1.c
Modified: trunk/libavcodec/truemotion1.c
==============================================================================
--- trunk/libavcodec/truemotion1.c Sat Aug 21 21:04:41 2010 (r24861)
+++ trunk/libavcodec/truemotion1.c Sat Aug 21 21:37:33 2010 (r24862)
@@ -178,11 +178,7 @@ static int make_ydt15_entry(int p1, int
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
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;
More information about the ffmpeg-cvslog
mailing list