diff options
author | Mark Reid <mindmark@gmail.com> | 2021-11-03 10:55:14 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-11-04 11:52:33 +0100 |
commit | d2379bd6a03bc57eb9cc027a75f21086474422fe (patch) | |
tree | a0771629faeb343744bc89c57e1bb71a4d361870 /libswscale | |
parent | 08a501946f95f3a998000ee923aa7fcb35ec0d4e (diff) | |
download | ffmpeg-d2379bd6a03bc57eb9cc027a75f21086474422fe.tar.gz |
swscale/input: fix planar_rgb16_to_a for gbrap10be and gbrap12be formats
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/input.c b/libswscale/input.c index 477dc3d6b2..336f957c8c 100644 --- a/libswscale/input.c +++ b/libswscale/input.c @@ -911,7 +911,7 @@ static void planar_rgb_to_uv(uint8_t *_dstU, uint8_t *_dstV, const uint8_t *src[ } #define rdpx(src) \ - is_be ? AV_RB16(src) : AV_RL16(src) + (is_be ? AV_RB16(src) : AV_RL16(src)) static av_always_inline void planar_rgb16_to_y(uint8_t *_dst, const uint8_t *_src[4], int width, int bpc, int is_be, int32_t *rgb2yuv) { |