aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_unscaled.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-07-18 00:09:37 +0000
committerPaul B Mahol <onemda@gmail.com>2012-07-18 23:47:40 +0000
commit9d8eac6899eac64ad595bfae1e5bb0ccd61d97a4 (patch)
tree07365f70427497452a053f7e69b695010bf7eb83 /libswscale/swscale_unscaled.c
parent204c4e953d895e15ab0908d715fd46181bf32add (diff)
downloadffmpeg-9d8eac6899eac64ad595bfae1e5bb0ccd61d97a4.tar.gz
swscale: simplify unscaled rgb48<->bgr48
Using av_bswap16 should be enough.
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r--libswscale/swscale_unscaled.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c
index 74767ae534..323417cc8b 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -561,11 +561,11 @@ static rgbConvFn findRgbConvFn(SwsContext *c)
if (CONV_IS(RGB48LE, BGR48LE)
|| CONV_IS(BGR48LE, RGB48LE)
|| CONV_IS(RGB48BE, BGR48BE)
- || CONV_IS(BGR48BE, RGB48BE)) conv = rgb48tobgr48_LL;
+ || CONV_IS(BGR48BE, RGB48BE)) conv = rgb48tobgr48_nobswap;
else if (CONV_IS(RGB48LE, BGR48BE)
|| CONV_IS(BGR48LE, RGB48BE)
|| CONV_IS(RGB48BE, BGR48LE)
- || CONV_IS(BGR48BE, RGB48LE)) conv = rgb48tobgr48_LB;
+ || CONV_IS(BGR48BE, RGB48LE)) conv = rgb48tobgr48_bswap;
} else
/* BGR -> BGR */
if ((isBGRinInt(srcFormat) && isBGRinInt(dstFormat)) ||