This ffmpeg version has a big api change. I'll attach the patch; note that I have *not* upstreamed it as I don't know how you handle your relations with upstream. If you want me to do it, please let me know. This bug will serve me to track the unmasking of ffmpeg from another bug, so please don't close it until it's really ok.
Created attachment 168434 [details, diff] fix it uses offset_t which was typedef'd to int64_t for years; now its gone, it should be safe and backward compatible to directly use int64_t
applied and submitted upstream (see url)