mpv
mpv copied to clipboard
audio/format: fix Type 'struct entry' has incompatible definitions in different translation units
trafficstars
When using Xcode, struct entry already exists (from <search.h>), so the one we declare in audio/format.c needs to be named differently.
we have some contribution rules here https://github.com/mpv-player/mpv/blob/master/DOCS/contribute.md, like commit message and body. the problem and explanation should be part of the commit body.
@Akemi can we get a review? Thanks
Sorry for nitpicking but internal types are usually named mp_thing not mpv_thing. Looks good other than that.
@sfan5 OK, renamed. Good to merge. :)