[FFmpeg-devel] [PATCH] Fix broken build on Android due to broken asm-generic/termbits.h include

Anton Khirnov anton at khirnov.net
Thu Feb 23 15:45:01 EET 2023


Quoting copypaste (2023-02-22 10:12:08)
> Applied to libavcodec/aaccoder.c:
> :%s/\([*]\)\?\([ \t]\{-}\)\?\(\<[BD-Z]\([0-9]*\)\)\>/\1\2_\3/g
> 
> This stops B0 and B1 from colliding with a define in
> /usr/include/asm-generic/termbits.h:

Why is that file even being included?

Also
> All identifiers that begin with an underscore and either an uppercase
> letter or another underscore are always reserved for any use.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list