[FFmpeg-devel] [PATCH v5 1/2] lavu/hashtable: create generic robin hood hash table

Michael Niedermayer michael at niedermayer.cc
Fri May 24 22:18:53 EEST 2024


On Thu, May 23, 2024 at 03:10:04PM -0700, Connor Worley wrote:
> Signed-off-by: Connor Worley <connorbworley at gmail.com>
> ---
>  libavutil/Makefile          |   2 +
>  libavutil/hashtable.c       | 192 ++++++++++++++++++++++++++++++++++++
>  libavutil/hashtable.h       |  91 +++++++++++++++++
>  libavutil/tests/hashtable.c | 108 ++++++++++++++++++++
>  4 files changed, 393 insertions(+)
>  create mode 100644 libavutil/hashtable.c
>  create mode 100644 libavutil/hashtable.h
>  create mode 100644 libavutil/tests/hashtable.c

breaks build

 make testprogs -j32 -k
CC	libavutil/tests/hashtable.o
libavutil/tests/hashtable.c: In function ‘main’:
libavutil/tests/hashtable.c:28:5: error: unknown type name ‘uint8_t’; did you mean ‘u_int8_t’?
   28 |     uint8_t k;
      |     ^~~~~~~
      |     u_int8_t
libavutil/tests/hashtable.c:29:5: error: unknown type name ‘uint64_t’; did you mean ‘u_int64_t’?
   29 |     uint64_t v;
      |     ^~~~~~~~
      |     u_int64_t
make: *** [ffbuild/common.mak:81: libavutil/tests/hashtable.o] Error 1
make: Target 'testprogs' not remade because of errors.



[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240524/27852455/attachment.sig>


More information about the ffmpeg-devel mailing list