Fixed codec issues on certain distros (changed call to av_register_all()).