See for example [c486dade](http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c486dade95ba529151391a7879538c9d4787752b) One fix is to copy the definitions of URLContext and URLProtocol straight into ffmpeg.c.