Many changes unrelated to your issue, but if you want to hack this particular fix in, edit panda/src/movies/ffmpegVirtualFile.cxx, and find this block:
#if LIBAVFORMAT_VERSION_INT < 3415296
::register_protocol(&protocol);
#else
av_register_protocol(&protocol);
#endif
Replace it with:
#if LIBAVFORMAT_VERSION_INT < 3415296
::register_protocol(&protocol);
#elif LIBAVFORMAT_VERSION_MAJOR < 53
av_register_protocol(&protocol);
#else
av_register_protocol2(&protocol, sizeof(protocol));
#endif