OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
751c509
)
Since the 24 bit format is decoded to endian-dependant
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 21 Aug 2010 19:40:38 +0000
(19:40 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 21 Aug 2010 19:40:38 +0000
(19:40 +0000)
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
libavcodec/truemotion1.c
patch
|
blob
|
history
diff --git
a/libavcodec/truemotion1.c
b/libavcodec/truemotion1.c
index
dace45d
..
63841a0
100644
(file)
--- 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;