diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2018-03-02 00:45:16 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-03-02 16:02:20 +0000 |
commit | b82706f412ba897c3b265caadefbb2cabe852d75 (patch) | |
tree | 2154f5b19e2af6c0076d6edfa6042e31f17ef4d1 /NEWS | |
parent | 6675b673665e486313c4b01c38105b5ae74f7e38 (diff) | |
download | strace-b82706f412ba897c3b265caadefbb2cabe852d75.tar.gz |
v4l2: v4l2_fourcc is endianness-agnostic
v4l2_fourcc(a, b, c, d) is defined as (a | (b << 8) | (c << 16) | (d << 24)
regardless of endianness (no mnemonic on big-endian architectures),
so we don't need special handling for WORDS_BIGENDIAN both in decoder
and in the test.
* v4l2.c (print_pixelformat): Change initialisation to a simple
assignment of character array.
* tests/ioctl_v4l2.c [WORDS_BIGENDIAN]: Remove.
* NEWS: Mention this fix.
Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
Fixes: v4.10~371 "Implement Video4Linux video-input ioctls decoder"
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,6 +18,7 @@ Noteworthy changes in release ?.?? (????-??-??) * Bug fixes * Fixed build on m68k. + * Fixed v4l2 pixelformat decoding on big-endian architectures. Noteworthy changes in release 4.21 (2018-02-13) =============================================== |