Replace deprecated functions with their newer alternatives

avcodec_decode_audio3 -> avcodec_decode_audio4
av_find_stream_info   -> avformat_find_stream_info
avcodec_open          -> avcodec_open2
av_close_input_file   -> avformat_close_input