On my machine the code would not compile properly. I checked ffmpeg git repository and found that the version number was incorrect in the pascal binding.
From: http://git.ffmpeg.org/?p=ffmpeg;a=blob;f=libavformat/avio.h;h=5aa24ca0a72d1c14334266a5219546ad1d9233ba;hb=HEAD
171 #if LIBAVFORMAT_VERSION_MAJOR < 53
172 /**
173 * @deprecated Use av_register_protocol() instead.
174 */...