aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/time.h
diff options
context:
space:
mode:
authorJarek Samic <cldfire3@gmail.com>2019-04-07 22:01:23 -0400
committerMark Thompson <sw@jkqxz.net>2019-04-09 22:16:01 +0100
commit1c50d61a5a689f8eabef37f504c6f8f33eb178ba (patch)
tree37cb99d4fb89257901a7ce09d20f278a051ece06 /libavutil/time.h
parent1ec777dcdd03b43d3d694c3b4532dccea0b419f0 (diff)
downloadffmpeg-1c50d61a5a689f8eabef37f504c6f8f33eb178ba.tar.gz
libavutil/hwcontext_opencl: Fix channel order in format support check
The `opencl_get_plane_format` function was incorrectly determining the value used to set the image channel order. This resulted in all RGB pixel formats being set to the `CL_RGBA` pixel format, regardless of whether or not they actually *were* RGBA. This patch fixes the issue by using the `offset` and depth of components rather than the loop index to determine the value of `order`. Signed-off-by: Jarek Samic <cldfire3@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavutil/time.h')
0 files changed, 0 insertions, 0 deletions