Make register_avcodec() call avcodec_init().