(I am not a lawyer)
Once a codec becomes a standard and is patented and that patent expires and the standard members decide it is a royalty free technology, it seems to me that it is not intellectual-property-protected anymore.
The code for the decoder/encoder itself can be protected if it is not free software or open source software, but since FFMPEG decodes (and encodes, I think) G.729, as far as I know, it means there is an unprotected implementation as well as a royalty free grant for decoding and encoding it, which effectively means that anyone can just use it, I assume.