diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-08-21 19:50:36 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-08-21 19:50:36 +0000 |
commit | 2a86d4b90528e4060b181ec32aca494655d54937 (patch) | |
tree | 344f1c4bb5b259b39a4f64ad15218d512aaaab00 /libavcodec | |
parent | 47af6239674f336defe3fa5aa13808e77af3792a (diff) | |
download | ffmpeg-2a86d4b90528e4060b181ec32aca494655d54937.tar.gz |
The 24-bit ydt also should not depend on endianness,
since all of it ends up in a single 32-bit pixel.
This seems likely to be wrong though, since it is different
from the 15 and 16 bit modes and might explain the half-width
issue for 24 bit truemotion.
Originally committed as revision 24864 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/truemotion1.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index 63841a08f6..babbeca9cb 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.c @@ -213,11 +213,7 @@ static int make_cdt16_entry(int p1, int p2, int16_t *cdt) return (lo + (lo << 16)) << 1; } -#if HAVE_BIGENDIAN -static int make_ydt24_entry(int p2, int p1, int16_t *ydt) -#else static int make_ydt24_entry(int p1, int p2, int16_t *ydt) -#endif { int lo, hi; |