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

Michael Niedermayer michael at niedermayer.cc
Fri Feb 23 21:07:57 EET 2024


On Wed, Feb 21, 2024 at 05:09:21PM -0800, Connor Worley wrote:
> Signed-off-by: Connor Worley <connorbworley at gmail.com>
> ---
>  libavutil/Makefile          |   2 +
>  libavutil/hashtable.c       | 192 ++++++++++++++++++++++++++++++++++++
>  libavutil/hashtable.h       |  40 ++++++++
>  libavutil/tests/hashtable.c | 108 ++++++++++++++++++++
>  4 files changed, 342 insertions(+)
>  create mode 100644 libavutil/hashtable.c
>  create mode 100644 libavutil/hashtable.h
>  create mode 100644 libavutil/tests/hashtable.c

breaks
make testprogs
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’?
     uint8_t k;
     ^~~~~~~
     u_int8_t
libavutil/tests/hashtable.c:29:5: error: unknown type name ‘uint64_t’; did you mean ‘u_int64_t’?
     uint64_t v;
     ^~~~~~~~
     u_int64_t
ffbuild/common.mak:81: recipe for target 'libavutil/tests/hashtable.o' failed
make: *** [libavutil/tests/hashtable.o] Error 1


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

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- 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/20240223/2d57f2f8/attachment.sig>


More information about the ffmpeg-devel mailing list