Update Ring to use the newer FFmpeg APIs
Issue generated from Tuleap's migration script. Originally submitted by: Philippe Gorley (pgorley)
Currently, when compiling Ring, there are a lot of warnings about using deprecated functions in the libav* libs and it is very noisy. Update Ring to use the newer FFmpeg APIs.