Update the FFmpeg API
The AVFifoBuffer
API was removed in FFmpeg 7.0. It is deprecated since FFmpeg 5.1. This old AVFifoBuffer
API should not be used anymore, and needs to be replaced by the new AVFifo
API.
The avcodec_find_decoder()
function now returns a pointer to a const AVCodec
since FFmpeg 5.0.