Enable use of FFMPEG codecs for extended formats

Change-Id: I1dc66749b6b5548c3617cbbfff389abc3d319562
(cherry picked from commit 933601e2061c809d52eab515ee2d348ef07224db)