Merge "Report more specific error if codec creation fails"