For what it’s worth, I just encountered this problem on my machine after removing a Black Magic Decklink card. Per what Stefano did, I went into LibraryQuicktime and removed the Blackmagic component out of there. Once I did that, AE worked fine without the error.
Maybe remove and replace individual codecs there to isolate the problem?