Remove avcodec_register_all call, av_register_all calls it all the same