[FFmpeg-cvslog] r24863 - trunk/libavcodec/truemotion1.c

reimar subversion
Sat Aug 21 21:40:38 CEST 2010


Author: reimar
Date: Sat Aug 21 21:40:38 2010
New Revision: 24863

Log:
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.

Modified:
   trunk/libavcodec/truemotion1.c

Modified: trunk/libavcodec/truemotion1.c
==============================================================================
--- trunk/libavcodec/truemotion1.c	Sat Aug 21 21:37:33 2010	(r24862)
+++ trunk/libavcodec/truemotion1.c	Sat Aug 21 21:40:38 2010	(r24863)
@@ -226,11 +226,7 @@ static int make_ydt24_entry(int p1, int 
     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;
 



More information about the ffmpeg-cvslog mailing list