mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-10 17:41:09 +02:00
Do not swap red and blue when decoding truemotion
on big-endian. Originally committed as revision 24862 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f5ea69b235
commit
751c5093c6
@ -178,11 +178,7 @@ static int make_ydt15_entry(int p1, int p2, int16_t *ydt)
|
||||
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 p2, int16_t *ydt)
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user