Mercurial > libavcodec.hg
changeset 12397:4bc3d73ae577 libavcodec
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.
author | reimar |
---|---|
date | Sat, 21 Aug 2010 19:40:38 +0000 |
parents | fe8005d542a4 |
children | 31736ceab3aa |
files | truemotion1.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/truemotion1.c Sat Aug 21 19:37:33 2010 +0000 +++ b/truemotion1.c Sat Aug 21 19:40:38 2010 +0000 @@ -226,11 +226,7 @@ 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;