Ubuntu – How to update libavcodec on ubuntu 14.04


On Ubuntu 14.04.5 I just upgraded firefox to version 50.0; now there is a message on some pages which reads:

libavcodec may be vulnerable or is not supported, and should be updated to play videos

So how can I update libavcodec?

A simple

sudo apt-get install libavcodec

gives the following output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libavcodec

So maybe I don't have libavcodec installed in the first place? So why do I get this message…?

Best Answer

Just enable libavcodec in firefox:
type about:config in the address bar, enter
click "I accept the risk" search libavcodec
change media.libavcodec.allow-obsolete;false to true

enter image description here

Related Question